I am using gdb to debug a package that is using an external library. I have the source code of the external library. How do I make gdb load this source code as well? Thank you!
To make GDB find sources for the library, use the dir command. More info here.
Do you know if the external library was compiled with the "include debugging symbols" flag set? I assume it was not. If you can recompile with that flag set it will make debugging easier.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With