Debugging partially optimised code

Tom Tromey tromey@redhat.com
Thu Jul 7 14:06:00 GMT 2011


>>>>> "Robert" == Robert Lupton the Good <rhl@astro.princeton.edu> writes:

Tom> Otherwise, if I were attacking this problem, I'd first redo my steps to
Tom> make sure I hadn't erred; then I would look at the debuginfo for the
Tom> library to try to understand why the breakpoint is being set there.

Robert> Any more hints on "look at the debuginfo for the library"?  The
Robert> equivalent of .stabs, or something else?

Yes, I would use readelf to look at the DWARF for the library to see why
gdb thinks this line appears there.

Tom



More information about the Gdb mailing list