handle

This command controls the handler settings for one or more signals or processor exceptions. The default handler settings are dependant on the type of debug activity. For example, by default on a Linux kernel connection, all signals are handled by Linux on the target. You can use info signals to display the current settings.

When connected to an application running on a remote target using gdbserver, the debugger handles Unix signals but on bare-metal it handles processor exceptions.

Show/hideSyntax

handle signal_name... keyword...

Where:

signal_name

Specifies the signal name.

keyword

Specifies the following keywords:

noprint

Disables the print property.

nostop

Disables the stop property.

print

Enables the print property. When using gdbserver the debugger can only print if stop is enabled.

stop

Enables the stop and print properties.

Show/hideExample

Example 38. handle

handle SVC stop                     # Enable stop and print for SVC handler
handle IRQ noprint                  # Disable print for IRQ handler

Show/hideSee also

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