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 [name]... keyword...

Where:

name

Specifies the signal or processor exception 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.

If no name is specified then all handler settings are modified.

Show/hideExample

Example 37. handle

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

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0452J
Non-ConfidentialID051612