[PATCH v7 0/3] disass: Add /x modifier

fam@euphon.net fam@euphon.net
Sat Sep 26 08:50:46 GMT 2020


From: Fam Zheng <famzheng@amazon.com>

v7: Fix texinfo node name in ChangeLog. [Eli]

v6: Add texinfo section name in ChangeLog. [Eli]

v5: Add function names in ChangeLog. [Eli]

v4: Add ChangeLog entries. [Eli]

v3: Add a test, more doc, and drop tmp buffer. [Andreas, Simon, Pedro]

This is a new modifier for disass command, to print offsets in hex. This
reduces pain for low level debugging (Linux kernel, Xen, etc.) when the
backtraces from dmesg are in hex - no manual converting needed to do a cross
matching when looking at both sides at the same time.

Fam Zheng (3):
  disass: Add /x modifier to print offsets in hex
  disass: Add test for /x mode
  disass: Add texinfo doc for the /x modifier

 gdb/NEWS                                |  3 ++
 gdb/cli/cli-cmds.c                      | 17 +++++++----
 gdb/disasm.c                            |  5 +++-
 gdb/disasm.h                            |  1 +
 gdb/doc/gdb.texinfo                     | 38 +++++++++++++++++++------
 gdb/record.c                            |  3 ++
 gdb/testsuite/gdb.base/disasm-optim.exp |  7 +++++
 7 files changed, 59 insertions(+), 15 deletions(-)

-- 
2.25.1




More information about the Gdb-patches mailing list