]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Add command to print the function names from recorded instructions.
authorMarkus Metzger <mmetzger@sourceware.org>
Mon, 11 Mar 2013 08:50:05 +0000 (08:50 +0000)
committerMarkus Metzger <mmetzger@sourceware.org>
Mon, 11 Mar 2013 08:50:05 +0000 (08:50 +0000)
commit15984c13c729e1f05eb789a3883df82994d5a593
treef80d1649597fb49b4f33b80f3845f724565a1d34
parent67c86d068313124e6c73e6ec0294866fc0471268
Add command to print the function names from recorded instructions.

This command provides a quick high-level overview over the recorded execution
log at function granularity without having to reverse-step.

gdb/
* target.c (target_call_history, target_call_history_from,
target_call_history_range): New.
* target.h (target_ops) <to_call_history, to_call_history_from,
to_call_history_range>: New fields.
(target_call_history, target_call_history_from,
target_call_history_range): New declaration.
* record.c (get_call_history_modifiers, cmd_record_call_history,
record_call_history_size): New.
(_initialize_record): Add the "record function-call-history" command.
Add "set/show record function-call-history-size" commands.
* record.h (record_print_flag): New.
gdb/ChangeLog
gdb/record.c
gdb/record.h
gdb/target.c
gdb/target.h