Gdbinit icon indicating copy to clipboard operation
Gdbinit copied to clipboard

Documentation explaining the [regs] section

Open Geremia opened this issue 8 years ago • 1 comments

For those new to using gdb, some explanation of the variables of the "regs" section—e.g.:

-----------------------------------------------------------------------------------------------------------------------[regs]
  RAX: 0x0000000000400E70  RBX: 0x0000000000000000  RBP: 0x0000000000402F20  RSP: 0x00007FFFFFFFDB28  o d I t s Z a P c 
  RDI: 0x000000000000000D  RSI: 0x00007FFFFFFFDC08  RDX: 0x00007FFFFFFFDC78  RCX: 0x0000000000000020  RIP: 0x0000000000400E70
  R8 : 0x0000000000402F90  R9 : 0x00007FFFF7DE8770  R10: 0x000000000000013A  R11: 0x000000000000000C  R12: 0x00000000004012B0
  R13: 0x00007FFFFFFFDC00  R14: 0x0000000000000000  R15: 0x0000000000000000
  CS: 0033  DS: 0000  ES: 0000  FS: 0000  GS: 0000  SS: 002B

—would be helpful:

Geremia avatar Jan 12 '17 16:01 Geremia

There's nothing to explain, read Intel CPU documentation/manuals.

gdbinit avatar Jan 13 '17 14:01 gdbinit