| |||
| Home > RealView Debugger Commands > Alphabetical command reference > OPTION | |||
Enables you to change the settings of debugger options for this session, or to display their current settings.
OPTION [option = value]
where:
optionSpecifies a setting from the list:
DEMANDLOADA flag that controls when the debugger symbol table
is loaded. The must
be one of:value
ONThe debug sections of the executable file are loaded into the debugger symbol table as required, speeding up the target load time. This is the default setting.
OFFThe whole symbol table is loaded from the file when
the LOAD or RELOAD commands
are issued.
ENDIANITYA flag that indicates the endianness of the target.
The must be one
of:value
LITTLEThe least significant byte of data is in the lowest address in memory, or appears first in a word in a data stream.
BIGThe most significant byte of data is in the lowest address in memory, or appears last in a word in a data stream.
Use this option to temporarily override the Endianess setting
in the Debug Configuration for the target.
The initial value is set on connection, and depends on the type of target:
For hardware targets,
the value is determined by the equivalent board file setting (Endianess)
of the related Debug Configuration.
For RVISS targets, the value is determined by the Debug Endian setting you selected for the configured target.
FRAMESTOPA flag that controls the behavior of the call stack
algorithm. The must
be one of:value
ONThe call stack stops when a stack frame is encountered that does not have associated debug information. This is the default.
OFFThe call stack stops when the end of stack is reached or when the stack frame no longer makes sense.
PENDMODEA flag that controls the pending command behavior:
singleEnables you to step, run or execute any pendable command on a processor that is synchronized with a running processor, but is not itself running.
synchronizedEnables you to pend any pendable command on a processor that is synchronized with a running processor, but is not itself running.
RADIXThe number base used for numeric input and output.
The must be
one of:value
DECIMALThe default input number base is decimal, base 10,
using the digits 0..9. You can also suffix a
decimal number with t. This is the default setting.
HEXADECIMALThe default input number base is hexadecimal, base
16, using the digits 0..9 and a..f,
or 0..9 and A..F. You can
also prefix a hexadecimal number with 0x or suffix
it with h.
It is suggested that you use either the 0x prefix or h suffix for
every hexadecimal number. This ensures that the value is valid if
you change the radix to decimal. For example, 0x80FF is
always valid, but 80FF is invalid for a decimal radix.
Also, if you use the h suffix, it is suggested
that you prefix the hexadecimal number with a zero digit to avoid confusion
with symbol names, for example, 0FADEh.
OUTDECThe
output number base is decimal, base 10, using the digits 0..9.
This is the default setting.
OUTHEXThe
output number base is hexadecimal, base 16, is prefixed with 0x and
uses the digits 0..9 and A..F.
The number base for a particular session can also be set in the workspace options.
STEPPINGA flag that controls the high-level stepping behavior.
In the Disassembly tab, lines of interleaved
source in the disassembly view are prefixed by either >>> or ---.
This flag determines whether lines prefixed with --- are
stepped to or stepped over.
The must
be one of:value
ALLStep to the first instruction of the next line of
source prefixed with >>> or ---.
STATEMENTStep
to the first instruction of the next line of source prefixed by >>>.
That is, step over any lines of source prefixed with ---.
This is the default.
valueDefines the value that you want to assign to the specified option.
The OPTION command enables you to change the settings of debugger options for this session, or to display their current settings. If you supply no parameters, the command displays the current settings of various options.
optionDisplays the current option settings, for example:
DEMANDLOAD = ON ENDIANITY = LITTLE FRAMESTOP = OFF RADIX = DECIMAL, OUTHEX STEPPING = STATEMENT PENDMODE = SINGLE
option radix=hexThe numerical input base is hexadecimal. The following are valid numbers when the default number base is hexadecimal:
0xAB (AB hex, 171 decimal)
0AB (AB hex, 171 decimal)
45 (45 hex, 69 decimal)
45t (45 decimal)
45H (45 hex, 69 decimal).
and the following are not valid:
AB (does
not start with a digit)
0t45 (t must
be at the end).
The following example opens a user-defined window with the
name User80 followed by a window named User50:
> option radix=hex > vopen 50 > option radix=dec > vopen 50
the following in the RealView Debugger Target Configuration Guide: