target rdi dev
ARM Angel monitor, via RDI library interface to ADP protocol. You may use this target to communicate with both boards running the Angel monitor, or with the EmbeddedICE JTAG debug device.
target rdp dev
ARM Demon monitor.
GDB provides the following ARM-specific commands:
set arm disassembler
This commands selects from a list of disassembly styles. The
"std" style is the standard style.
show arm disassembler
Show the current disassembly style.
set arm apcs32
This command toggles ARM operation mode between 32-bit and 26-bit.
show arm apcs32
Display the current usage of the ARM 32-bit mode.
set arm fpu fputype
This command sets the ARM floating-point unit (FPU) type. The argument fputype can be one of these:
Determine the FPU type by querying the OS ABI.
Software FPU, with mixed-endian doubles on little-endian ARM processors.
GCC-compiled FPA co-processor.
Software FPU with pure-endian doubles.
show arm fpu
Show the current type of the FPU.
set arm abi
This command forces GDB to use the specified ABI.
show arm abi
Show the currently used ABI.
set arm fallback-mode (arm|thumb|auto)
GDB uses the symbol table, when available, to determine
whether instructions are ARM or Thumb. This command controls
GDB’s default behavior when the symbol table is not
available. The default is ‘auto’, which causes GDB to
use the current execution mode (from the
T bit in the
show arm fallback-mode
Show the current fallback instruction mode.
set arm force-mode (arm|thumb|auto)
This command overrides use of the symbol table to determine whether instructions are ARM or Thumb. The default is ‘auto’, which causes GDB to use the symbol table and then the setting of ‘set arm fallback-mode’.
show arm force-mode
Show the current forced instruction mode.
set debug arm
Toggle whether to display ARM-specific debugging messages from the ARM target support subsystem.
show debug arm
Show whether ARM-specific debugging messages are enabled.
The following commands are available when an ARM target is debugged using the RDI interface:
Set the filename for the ADP (Angel Debugger Protocol) packet log. With an argument, sets the log file to the specified file. With no argument, show the current log file name. The default log file is rdi.log.
Control logging of ADP packets. With an argument of 1 or
enables logging, with an argument 0 or
"no" disables it. With
no arguments displays the current setting. When logging is enabled,
ADP packets exchanged between GDB and the RDI target device
are logged to a file.
Tell GDB whether the target has ROM at address 0. If on,
vector catching is disabled, so that zero address can be used. If off
(the default), vector catching is enabled. For this command to take
effect, it needs to be invoked prior to the
target rdi command.
Show the current setting of ROM at zero address.
Enable or disable RDI heartbeat packets. It is not recommended to turn on this option, since it confuses ARM and EPI JTAG interface, as well as the Angel monitor.
Show the setting of RDI heartbeat packets.
target sim [simargs] …
The GDB ARM simulator accepts the following optional arguments.
Tell the simulator which SWI interfaces to support. The argument
type may be a comma separated list of the following values.
The default value is