summaryrefslogtreecommitdiff
path: root/gdb/btrace.h
diff options
context:
space:
mode:
authorTim Wiederhake <tim.wiederhake@intel.com>2017-05-30 12:47:37 +0200
committerTim Wiederhake <tim.wiederhake@intel.com>2017-05-30 12:49:25 +0200
commit521103fd00e593c08a6bedb619c5a9f8f7cc5a91 (patch)
tree37e04c91de562cdebf2164cbb93db2e9c4e84365 /gdb/btrace.h
parent17b89b34b8d7a5a8b713c92a9ebe689c6edd6798 (diff)
btrace: Add btinfo to instruction interator.
This will serve as the access path to the vector of function segments once the FUNCTION pointer in struct btrace_insn_iterator is removed.
Diffstat (limited to 'gdb/btrace.h')
-rw-r--r--gdb/btrace.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/btrace.h b/gdb/btrace.h
index ab739ecab4..e567ef7fb0 100644
--- a/gdb/btrace.h
+++ b/gdb/btrace.h
@@ -192,6 +192,9 @@ struct btrace_function
/* A branch trace instruction iterator. */
struct btrace_insn_iterator
{
+ /* The branch trace information for this thread. Will never be NULL. */
+ const struct btrace_thread_info *btinfo;
+
/* The branch trace function segment containing the instruction.
Will never be NULL. */
const struct btrace_function *function;