set arm fallback-mode (arm|thumb|auto)
如果有符号表,那么GDB就使用符号表来决定指令是 ARM指令还是Thumb指令。 没有符号表,用这个命令来控制GDB的默认行为,默认是auto, 它让GDB使用当前的执行模式(从CPSR的T位得到)
show arm fallback-mode
显示当前的fallback指令模式
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.
(gdb) show arm show-opcode-bytes
ARM and Thumb opcode byte display in disassembly is off.
这个是苹果的山寨版gdb添加的一个