[lldb-dev] [Bug 18772] New: Breakpoint reports invalid locations and breaks incorrectly

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Feb 8 01:07:52 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=18772

            Bug ID: 18772
           Summary: Breakpoint reports invalid locations and breaks
                    incorrectly
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: sheeftz at gmail.com
    Classification: Unclassified

I have a very different behaviour of lldb and gdb on pretty common piece of
code:
GuiProfile.cpp fragment:

...
void ProfileNameEdit::OnShow()
{
    SetText(Profiles::current()->name); // this is 10th line
}
...

(lldb) b GuiProfile.cpp:10
Breakpoint 2: 33 locations.

(gdb) b GuiProfile.cpp:10
Breakpoint 1 at 0x6d6e8c: GuiProfile.cpp:10. (4 locations)

Note 33 vs 4 locations.

The actual problem is that lldb breakpoint breaks where it should not. It
breaks on unrelated line of unrelated file far away from actual code.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140208/b61d3743/attachment.html>


More information about the lldb-dev mailing list