Next: M68K, Previous: ARC, Up: Embedded Processors [Contents][Index]
GDB provides the following ARM-specific commands:
set arm disassemblerThis commands selects from a list of disassembly styles. The
"std" style is the standard style.
show arm disassemblerShow the current disassembly style.
set arm apcs32This command toggles ARM operation mode between 32-bit and 26-bit.
show arm apcs32Display the current usage of the ARM 32-bit mode.
set arm fpu fputypeThis command sets the ARM floating-point unit (FPU) type. The argument fputype can be one of these:
autoDetermine the FPU type by querying the OS ABI.
softfpaSoftware FPU, with mixed-endian doubles on little-endian ARM processors.
fpaGCC-compiled FPA co-processor.
softvfpSoftware FPU with pure-endian doubles.
vfpVFP co-processor.
show arm fpuShow the current type of the FPU.
set arm abiThis command forces GDB to use the specified ABI.
show arm abiShow 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 CPSR
register).
show arm fallback-modeShow 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-modeShow the current forced instruction mode.
set debug armToggle whether to display ARM-specific debugging messages from the ARM target support subsystem.
show debug armShow whether ARM-specific debugging messages are enabled.
target sim [simargs] …The GDB ARM simulator accepts the following optional arguments.
--swi-support=typeTell the simulator which SWI interfaces to support. The argument
type may be a comma separated list of the following values.
The default value is all.
nonedemonangelredbootallNext: M68K, Previous: ARC, Up: Embedded Processors [Contents][Index]