| |||
| Home > armsd > Getting Started in armsd > armsd variables > Summary of armsd variables | |||
You can modify many debugger defaults by setting variables. Table 8.2 lists the variables. Most of these are described elsewhere in this chapter in more detail.
Table 8.2. armsd variables
| Variable | Description |
|---|---|
| Number of microseconds since simulation started. This read-only variable is available only if a processor clock speed is specified. See RealView ARMulator ISS configuration for information on specifying the simulated processor clock speed. |
| Argument string for the debuggee. |
| Nonzero to echo commands from obeyed files (initially 1). |
| Default number of lines for |
| Default format for printing integer values (initially “0x%.8lx”). |
| Default format for printing floating-point values (initially “%g”). |
| Default format for printing unsigned integer values (initially “0x%.8lx”). |
| Default format for printing signed byte values (initially “%c”). |
| Default format for printing unsigned byte values (initially “%c”). |
| Default format for printing string values (initially “%s”). |
| Default format for printing complex values (initially “(%g,%g)”). |
| Default format for printing pointer values (initially “0x%.8lx”). |
| Base for input of integer constants (initially 10). |
| Default number of lines for list command (initially 16). |
| Floating-point value returned by last
called function (junk if none, or if a floating-point value was
not returned). A read-only variable. |
| Default number of lines for the |
| Outputs any memory map statistics that RealView ARMulator ISS has been keeping. A read-only variable. See RealView ARMulator ISS configuration for further details. Note
|
| Outputs any statistics which RealView ARMulator ISS has been keeping. A read-only variable. |
| Similar to |
| Indicates whether or not execution is
interrupted when various exceptions occur. The default value is
|
| RDI logging is enabled if nonzero, and serial line logging is enabled if bit 1 is set (initially 0). |
| This variable informs the debugger where the top of RAM is on your target. This is used to enable
Multi-ICE®, EmbeddedICE,
and Angel to return sensible values when a |
$target_fpu | This variable controls the way that floating-point values are interpreted by the debugger. It is important for correct display of float and double values in memory that this variable is set to a value that is appropriate for the target in use. If you attempt to change this value, a validity test ensures that the only settings allowed are those that are compatible with the representation of floating-point values in the current image. Valid settings and their meanings are: 1 Selects pure-endian
doubles ( 2 Selects
mixed-endian doubles ( 3 Selects
hardware Vector Floating-Point unit ( 4 Selects
hardware Floating-Point Accelerator ( 5 Reserved. Incompatible settings are accepted but a warning is given. SoftVFP and SoftFPA images run correctly on a target whether or not hardware floating point is present. FPA images can also run correctly without hardware floating point, but only if the Floating Point Emulator in RealView ARMulator ISS is active. VFP images require appropriate hardware. For more information, see the RealView Compilation Tools Compiler and Libraries Guide. |
| This variable contains a list of the paths to be searched when a source file is required. It defaults to NULL if no value is specified. When you specify search paths:
|
| Integer result returned by last called function (junk if none, or if an integer result was not returned). A read-only variable. |
$semihosting_enabled | Enables or disables semihosting (see Definitions). |
The variables in Table 8.3 are included to support EmbeddedICE.
Table 8.3. armsd variables for Multi-ICE and EmbeddedICE
| Variable | Description |
|---|---|
$icebreaker_lockedpoints | Shows or sets locked EmbeddedICE logic points. |
$semihosting_vector | Sets up semihosting SWI vector. |
$semihosting_arm_swi | Defines which ARM SWIs are interpreted
as semihosting requests by the debug agent. The default is |
$semihosting_thumb_swi | Defines which Thumb SWIs are interpreted
as semihosting requests by the debug agent. The default is |