http://llvm.org/bugs/show_bug.cgi?id=17214
Bug ID: 17214 Summary: inline stepping test fails on FreeBSD Product: lldb Version: unspecified Hardware: PC OS: FreeBSD Status: NEW Severity: normal Priority: P Component: All Bugs Assignee: lldb-dev@cs.uiuc.edu Reporter: ema...@freebsd.org Classification: Unclassified 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 -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ lldb-dev mailing list lldb-dev@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev