This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Debugging partially optimised code


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]