summaryrefslogtreecommitdiff
path: root/src/target/target.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/target.h')
-rw-r--r--src/target/target.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/target/target.h b/src/target/target.h
index efa0c645..5b160d12 100644
--- a/src/target/target.h
+++ b/src/target/target.h
@@ -281,6 +281,10 @@ enum target_event
TARGET_EVENT_OLD_post_reset,
TARGET_EVENT_OLD_pre_resume,
+ /* allow GDB to do stuff before others handle the halted event,
+ this is in lieu of defining ordering of invocation of events,
+ which would be more complicated */
+ TARGET_EVENT_EARLY_HALTED,
TARGET_EVENT_HALTED, /* target entered debug state from normal execution or reset */
TARGET_EVENT_RESUMED, /* target resumed to normal execution */
TARGET_EVENT_RESUME_START,