Add a command to provide a disassembly of the execution trace log.
authorMarkus Metzger <mmetzger@sourceware.org>
Mon, 11 Mar 2013 08:48:38 +0000 (08:48 +0000)
committerMarkus Metzger <mmetzger@sourceware.org>
Mon, 11 Mar 2013 08:48:38 +0000 (08:48 +0000)
commit67c86d068313124e6c73e6ec0294866fc0471268
tree9e5341abbbf171cda7556c2d963a7bb7ba7ef58f
parent7c1687a9661c460fac39e57a451a90c5f48213d9
Add a command to provide a disassembly of the execution trace log.

gdb/
* target.h (target_ops) <to_insn_history, to_insn_history_from,
to_insn_history_range>: New fields.
(target_insn_history): New.
(target_insn_history_from): New.
(target_insn_history_range): New.
* target.c (target_insn_history): New.
(target_insn_history_from): New.
(target_insn_history_range): New.
* record.c: Include cli/cli-utils.h, disasm.h, ctype.h.
(record_insn_history_size): New.
(get_insn_number): New.
(get_context_size): New.
(no_chunk): New.
(get_insn_history_modifiers): New.
(cmd_record_insn_history): New.
(_initialize_record): Add "set/show record instruction-history-size"
command. Add "record instruction-history" command.
gdb/ChangeLog
gdb/record.c
gdb/target.c
gdb/target.h