<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - inline stepping test fails on FreeBSD"
   href="http://llvm.org/bugs/show_bug.cgi?id=17214">17214</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>inline stepping test fails on FreeBSD
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>FreeBSD
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>emaste@freebsd.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>TestInlineStepping.test_with_dwarf_and_python_api fails
test code is test/functionalities/inline-stepping/calling.cpp

Reproducing manually, after 'log enable -f /dev/stdout lldb step'


(lldb) thread step-over
Thread::PushPlan(0x0x80c7c8600): "stepping through range (stepping over
functions) stop_others=true: [0x0000000000800736-0x0000000000800741)", tid =
0x188e7.
Process::PrivateResume() m_stop_id = 4, public state: stopped private state:
stopped
Thread::PushPlan(0x0x80c7c8600): "Single stepping past breakpoint site 7 at
0x400736", tid = 0x188e7.
WillResume Thread #1 (0x0x80c7c8600): tid = 0x188e7, pc = 0x00400736, sp =
0x7fffffffd4a0, fp = 0x7fffffffd4c0, plan = 'Step over breakpoint trap', state
= stepping, stop others = 1
Process thinks the process has resumed.
Current Plan for thread 1(0x80c7c8600) (0x188e7, stepping): Step over
breakpoint trap being asked whether we should report run.

ThreadList::ShouldStop: 1 threads
Thread::ShouldStop(0x80c7c8600) for tid = 0x188e7 0x188e7, pc =
0x0000000000400741
^^^^^^^^ Thread::ShouldStop Begin ^^^^^^^^
Plan stack initial state:
  Plan Stack for thread #1: tid = 0x188e7, stack_size = 3
    Element 2: Single stepping past breakpoint site 7 at 0x400736
    Element 1: stepping through range (stepping over functions)
stop_others=true: [0x0000000000800736-0x0000000000800741)
    Element 0: Base thread plan.

Plan Step over breakpoint trap explains stop, auto-continue 0.
Plan Step over breakpoint trap should stop: 0.
Completed step over breakpoint plan.
Popping plan: "Step over breakpoint trap", tid = 0x188e7.
ThreadPlanStepOverRange reached 0x0000000000400741.
ShouldStop m_stop_others=2 stop_others=0
Step range plan stepped to the middle of new line(106):
[0x0000000000800741-0x0000000000800741), file =
/tank/emaste/src/llvm/tools/lldb/test/functionalities/inline-stepping/calling.cpp,
line = 106, continuing to clear this line.
Plan Step range stepping over should stop: 0.
Plan stack final state:
  Plan Stack for thread #1: tid = 0x188e7, stack_size = 2
    Element 1: stepping through range (stepping over functions)
stop_others=true: [0x0000000000800741-0x0000000000800741)
    Element 0: Base thread plan.
  Completed Plan Stack: 1 elements.
    Element 0: Single stepping past breakpoint site 7 at 0x400736

vvvvvvvv Thread::ShouldStop End (returning 0) vvvvvvvv
ThreadList::ShouldStop overall should_stop = 0
ThreadList::ShouldReportStop 1 threads
Thread::ShouldReportStop() tid = 0x188e7: returning vote  for complete stack's
back plan
ThreadPlan::ShouldReportStop() returning vote: no
ThreadList::ShouldReportStop returning no
Process::PrivateResume() m_stop_id = 5, public state: running private state:
stopped
WillResume Thread #1 (0x0x80c7c8600): tid = 0x188e7, pc = 0x00400741, sp =
0x7fffffffd4a0, fp = 0x7fffffffd4c0, plan = 'Step range stepping over', state =
stepping, stop others = 1
Process thinks the process has resumed.

ThreadList::ShouldStop: 1 threads
Thread::ShouldStop(0x80c7c8600) for tid = 0x188e7 0x188e7, pc =
0x0000000000400748
^^^^^^^^ Thread::ShouldStop Begin ^^^^^^^^
Plan stack initial state:
  Plan Stack for thread #1: tid = 0x188e7, stack_size = 2
    Element 1: stepping through range (stepping over functions)
stop_others=true: [0x0000000000800741-0x0000000000800741)
    Element 0: Base thread plan.

Plan Step range stepping over explains stop, auto-continue 0.
ThreadPlanStepOverRange reached 0x0000000000400748.
ShouldStop m_stop_others=2 stop_others=0
LookForPlanToStepThroughFromCurrentPC m_stop_others=false
Couldn't find step through plan from address 0x400748.
Plan Step range stepping over should stop: 1.
Completed step through range plan.
Popping plan: "Step range stepping over", tid = 0x188e7.
Plan stack final state:
  Plan Stack for thread #1: tid = 0x188e7, stack_size = 1
    Element 0: Base thread plan.
  Completed Plan Stack: 1 elements.
    Element 0: stepping through range (stepping over functions)
stop_others=true: [0x0000000000800741-0x0000000000800741)

vvvvvvvv Thread::ShouldStop End (returning 1) vvvvvvvv
ThreadList::ShouldStop overall should_stop = 1
(lldb) ThreadPlanStepOverRange reached 0x0000000000400748.
ShouldStop m_stop_others=2 stop_others=0
LookForPlanToStepThroughFromCurrentPC m_stop_others=false
Couldn't find step through plan from address 0x400748.
Process 28079 stopped
* thread #1: tid = 100583, 0x0000000000800748 a.out`main [inlined]
inline_trivial_2(void) + 7 at calling.cpp:96, stop reason = step over
    frame #0: 0x0000000000800748 a.out`main [inlined] inline_trivial_2(void) +
7 at calling.cpp:96
   93   void
   94   inline_trivial_2 ()
   95   {
-> 96       inline_value += 1; // In inline_trivial_2.
   97       called_by_inline_trivial (); // At caller_by_inline_trivial in
inline_trivial_2.
   98   }
   99</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>