]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/record.c
Add a disassembly flag to omit the pc prefix and use it in the "record
authorMarkus Metzger <mmetzger@sourceware.org>
Mon, 11 Mar 2013 08:53:17 +0000 (08:53 +0000)
committerMarkus Metzger <mmetzger@sourceware.org>
Mon, 11 Mar 2013 08:53:17 +0000 (08:53 +0000)
commit946287b73c02d2bd079af1fcf6a3b412365a2851
tree52dfcac0b29260e9936b69e30da40f540bd369ef
parentafedecd388d5a4db011c51c617daa1e7224b79e4
Add a disassembly flag to omit the pc prefix and use it in the "record
instruction-history" command of record-btrace.

The pc prefix would appear multiple times in the branch trace disassembly,
which is more confusing than helpful.

gdb/
* record-btrace.c (btrace_insn_history): Omit the pc prefix in
the instruction history disassembly.
* disasm.c (dump_insns): Omit the pc prefix, if requested.
* disasm.h (DISASSEMBLY_OMIT_PC): New.
gdb/ChangeLog
gdb/disasm.c
gdb/disasm.h
gdb/record.c