summary refs log tree commit diff stats
path: root/gdbstub/internals.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdbstub/internals.h')
-rw-r--r--gdbstub/internals.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdbstub/internals.h b/gdbstub/internals.h
index 94ddff4495..33d21d6488 100644
--- a/gdbstub/internals.h
+++ b/gdbstub/internals.h
@@ -65,6 +65,11 @@ typedef struct GDBState {
     GByteArray *mem_buf;
     int sstep_flags;
     int supported_sstep_flags;
+    /*
+     * Whether we are allowed to send a stop reply packet at this moment.
+     * Must be set off after sending the stop reply itself.
+     */
+    bool allow_stop_reply;
 } GDBState;
 
 /* lives in main gdbstub.c */