1.3.153 set stop-on-solib-events

Controls whether the debugger stops execution when a shared object is loaded or unloaded.

Note:

You must launch the debugger with the --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.

Syntax

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.

Example 1-156 Examples

set stop-on-solib-events on             # Stop execution when event occurs
Non-ConfidentialPDF file icon PDF versionARM DUI0452Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.