set stop-on-solib-events

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

Note

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.

Show/hideSyntax

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

Where:

off

Ignore event. This is the default.

on

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.

Show/hideExample

Example 107. set stop-on-solib-events

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

Show/hideSee also

Copyright © 2010, 2011 ARM. All rights reserved.ARM DUI 0452D
Non-ConfidentialID011411