[PATCH v4 0/3] disass: Add /x modifier
fam@euphon.net
fam@euphon.net
Fri Sep 25 18:53:38 GMT 2020
From: Fam Zheng <famzheng@amazon.com>
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