(gdb)
21.6 GDB/MI Data manipulation
This section describes the GDB/MI commands that manipulate data: examine memory and registers, evaluate expressions, and so on.
The -data-disassemble command
Synopsis
[
[
--mode
Where:
'mode'
is the beginning address (or $pc)
is the end address
is the name of the file to disassemble
is the line number to disassemble around
is the number of disassembly lines to be produced. If it is
is either 0 (meaning only disassembly) or 1 (meaning mixed source and disassembly).
Result
The output for each instruction is composed of four fields:
•Address
•
•Offset
•Instruction
Note that whatever included in the instruction field, is not manipulated directly by GDB/MI, that is it is not possible to adjust its format.
320 The GDB/MI Interface