You copied the Doc URL to your clipboard.

set stop-on-solib-events

This command controls whether the debugger stops execution when a shared object is loaded or unloaded.


You must launch the debugger with --target_os command-line option before you can use this feature. In Eclipse this option is automatically selected when you connect to a target using gdbserver.


set stop-on-solib-events { off | on}



Ignore event. This is the default.


Stop execution. Use this option only when you want the debugger to stop execution. For example, you might want to set a breakpoint in a shared library prior to use or perhaps you might want to check the initialization of global variables.


set stop-on-solib-events on             # Stop execution when event occurs

See also