aboutsummaryrefslogtreecommitdiff
path: root/gdb/btrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/btrace.h')
-rw-r--r--gdb/btrace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/btrace.h b/gdb/btrace.h
index 36bf500..b7437f1 100644
--- a/gdb/btrace.h
+++ b/gdb/btrace.h
@@ -27,6 +27,7 @@
list of sequential control-flow blocks, one such list per thread. */
#include "btrace-common.h"
+#include "target/waitstatus.h" /* For enum target_stop_reason. */
struct thread_info;
struct btrace_function;
@@ -258,6 +259,9 @@ struct btrace_thread_info
Gaps are skipped during replay, so REPLAY always points to a valid
instruction. */
struct btrace_insn_iterator *replay;
+
+ /* Why the thread stopped, if we need to track it. */
+ enum target_stop_reason stop_reason;
};
/* Enable branch tracing for a thread. */