GDB Incorrectly Reads & Resolves Shared Library Symbols [MinGW-w64]

Hannes Domani ssbssa@yahoo.de
Sun Nov 1 14:53:04 GMT 2020


 Am Sonntag, 1. November 2020, 00:26:34 MEZ hat William Adair via Gdb <gdb@sourceware.org> Folgendes geschrieben:

> Can anyone recommend a way to start debugging GDB? I've found that when I
> compile a 32-bit shared library that GDB is unable to correctly resolve the
> symbols in the image and set breakpoints. Even when I reach a segfault and
> print the backtrace, the symbols are incorrect or flat out missing. I
> already verified that the image has .debug_* sections as would be required
> for DWARF debugging, so I'm perplexed as to why GDB cannot correctly
> resolve it and am looking for guidance.
>
> Thank you.

Do you have a (small) example where this problem can be reproduced?


Hannes


More information about the Gdb mailing list