aboutsummaryrefslogtreecommitdiff
path: root/gdb/btrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/btrace.h')
-rw-r--r--gdb/btrace.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/btrace.h b/gdb/btrace.h
index 93c84ff..756a778 100644
--- a/gdb/btrace.h
+++ b/gdb/btrace.h
@@ -52,6 +52,13 @@ enum btrace_insn_class
BTRACE_INSN_JUMP
};
+/* Instruction flags. */
+enum btrace_insn_flag
+{
+ /* The instruction has been executed speculatively. */
+ BTRACE_INSN_FLAG_SPECULATIVE = (1 << 0)
+};
+
/* A branch trace instruction.
This represents a single instruction in a branch trace. */
@@ -65,6 +72,9 @@ struct btrace_insn
/* The instruction class of this instruction. */
enum btrace_insn_class iclass;
+
+ /* A bit vector of BTRACE_INSN_FLAGS. */
+ enum btrace_insn_flag flags;
};
/* A vector of branch trace instructions. */