gdb tips and tricks

Debugging a Shared Library with GDB

Enter “set stop-on-solib-events 1” on the gdb command line. gdb will halt when the parent program tries to access a shared library.

Leave a Reply

Your email address will not be published. Required fields are marked *