diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2013-04-26 08:37:06 +0200 |
---|---|---|
committer | Markus Metzger <markus.t.metzger@intel.com> | 2014-01-16 13:06:09 +0100 |
commit | 07bbe694e779f4953911a50751abdc00117be7d3 (patch) | |
tree | a8da63d6506d00e24eb7cab38fa734a33a46c971 /gdb/target.h | |
parent | 0688d04e19c0e6305c1034eb5e97a66458fd805a (diff) | |
download | gdb-07bbe694e779f4953911a50751abdc00117be7d3.zip gdb-07bbe694e779f4953911a50751abdc00117be7d3.tar.gz gdb-07bbe694e779f4953911a50751abdc00117be7d3.tar.bz2 |
btrace: add replay position to btrace thread info
Add a branch trace instruction iterator pointing to the current replay position
to the branch trace thread info struct.
Free the iterator when btrace is cleared.
Start at the replay position for the instruction and function-call histories.
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
* btrace.h (replay) <replay>: New.
(btrace_is_replaying): New.
* btrace.c (btrace_clear): Free replay iterator.
(btrace_is_replaying): New.
* record-btrace.c (record_btrace_is_replaying): New.
(record_btrace_info): Print insn number if replaying.
(record_btrace_insn_history): Start at replay position.
(record_btrace_call_history): Start at replay position.
(init_record_btrace_ops): Init to_record_is_replaying.
Diffstat (limited to 'gdb/target.h')
0 files changed, 0 insertions, 0 deletions