6.6.64. setprocprop

The setprocprop command sets a processor-related internal variable to the specified value (see procproperties). You have to supply a value of the type required for the variable you are setting.

The shorthand form of the setprocprop command is spp.

Syntax

spp ppvariable value [processor]

where:

ppvariable

Specifies the ppvariable to be reset. See Definitions for a list of valid ppvariables.

value

Specifies the new value to be assigned to the specified variable.

In the case of the vector_catch variable, you can supply a hexadecimal value, a decimal value, a string of characters, or a single character (see Table 6.2).

Table 6.2. Allocation of bits in vector_catch variable

Bit876543210
SetsNot usedFINot usedDPSUR

You are recommended to enclose a string of characters or a single character in quotes. If the string contains the character D or F, you must use quotes to avoid any attempt to interpret it as a hexadecimal value.

processor

Specifies the ID number for the processor.

Examples

spp vector_catch 0x00DF

Is equivalent to using Processor Properties to check all the vector catch check boxes giving a setting of RUSPDIF instead of the default setting of RUsPDif. See Configure Processor....

spp vector_catch IuS

Sets the I and S bits on, and the U bit off, leaving the other bits unchanged.

spp vector_catch "D"

Sets the D bit on, and all the other bits unchanged.

spp vector_catch 0

Sets all the vector catch bits off. If you are debugging an embedded application with a JTAG-based debug agent like Multi-ICE, you can use this to free a watchpoint unit in the EmbeddedICE logic of the processor.

spp semihosting_enabled 0

Disables semihosting by not placing a breakpoint on the SWI vector. This also frees a watchpoint unit in the EmbeddedICE logic of the processor, for debugging an embedded application. For more information see the RealView ARMulator ISS Guide.

Copyright © 1999-2006 ARM Limited. All rights reserved.ARM DUI 0066G
Non-Confidential