[lldb-dev] breakpoint command

Michael Sartain mikesart at valvesoftware.com
Mon Jun 17 13:40:43 PDT 2013

On Mon, Jun 17, 2013 at 11:27 AM, Greg Clayton <gclayton at apple.com> wrote:

> We do skip the prologue by default. We use the DWARF line tables to see
> where the prologue end is. If the DWARF doesn't have a prologue end marker
> in it, we try and figure this out ourselves by using the second line table
> entry in the line table. I am guessing there is either bad DWARF line table
> info made by the compiler in this case (with an bad prologue end marker),
> or no prologue end marker.
> You can also see the some of the line table using:
> (lldb) image dump line-table printf.c

This doesn't look right. It shouldn't have duplicates like that I assume?

(lldb) image dump line-table printf.c
Line table for /build/buildd/eglibc-2.15/stdio-common/printf.c in `libc.so.6
0x00007f159c281840: /build/buildd/eglibc-2.15/stdio-common/printf.c:30
0x00007f159c281864: /build/buildd/eglibc-2.15/stdio-common/printf.c:30
0x00007f159c28189b: /build/buildd/eglibc-2.15/stdio-common/printf.c:34
0x00007f159c2818a3: /build/buildd/eglibc-2.15/stdio-common/printf.c:30
0x00007f159c2818a6: /build/buildd/eglibc-2.15/stdio-common/printf.c:35
0x00007f159c2818ab: /build/buildd/eglibc-2.15/stdio-common/printf.c:34
0x00007f159c2818ca: /build/buildd/eglibc-2.15/stdio-common/printf.c:35
0x00007f159c2818d9: /build/buildd/eglibc-2.15/stdio-common/printf.c:39
0x00007f159c2818e1: /build/buildd/eglibc-2.15/stdio-common/printf.c:39

> ...
> If you send me the ELF file that contains printf, I can check it out the
> line table and probably the symbol issue for you.

I put a zip file up here with the SO and the debug SO.


Thanks Greg.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20130617/590d947f/attachment.html>

More information about the lldb-dev mailing list