[lldb-dev] [Bug 25061] New: Thread doesn't contain the main stack frame
lldb-dev at lists.llvm.org
Mon Oct 5 11:26:21 PDT 2015
Bug ID: 25061
Summary: Thread doesn't contain the main stack frame
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: berykubik at gmail.com
CC: llvm-bugs at lists.llvm.org
When I access SBThread::frames or use "thread backtrace" in the lldb console,
the stack frame from main function is missing. In the given example, when I set
breakpoint in test, it shows only one stack frame in backtrace. In GDB, it
shows two (test + main). Is this the intended behaviour? How can I access all
the frames? I'm compiling the source with -g and -O0, I even tried
-fno-omit-frame-pointer, but it didn't help.
// breakpoint here, bt shows only 1 frame
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-dev