diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-10-08 07:32:47 -0700 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-10-08 07:32:47 -0700 |
commit | 22aff82cae0de384f931b4cea89c4f52ec976407 (patch) | |
tree | e2de51541c735b15110bfe792f4926fc448d7179 /src/target/target.h | |
parent | 6efaa95c44f57d1789ca8cd6cec8bba2f75b0cb5 (diff) | |
parent | 4aacf01e194d09fb55dc759fc42ac42c8432c015 (diff) | |
download | openocd+libswd-22aff82cae0de384f931b4cea89c4f52ec976407.tar.gz openocd+libswd-22aff82cae0de384f931b4cea89c4f52ec976407.tar.bz2 openocd+libswd-22aff82cae0de384f931b4cea89c4f52ec976407.tar.xz openocd+libswd-22aff82cae0de384f931b4cea89c4f52ec976407.zip |
Merge branch 'master' of ssh://dbrownell@openocd.git.sourceforge.net/gitroot/openocd/openocd
Diffstat (limited to 'src/target/target.h')
-rw-r--r-- | src/target/target.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/target/target.h b/src/target/target.h index 0ff2258a..6547d4d7 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -163,8 +163,14 @@ enum target_event /* 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, + * which would be more complicated + * + * Telling GDB to halt does not mean that the target stopped running, + * simply that we're dropping out of GDB's waiting for step or continue. + * + * This can be useful when e.g. detecting power dropout. + */ + TARGET_EVENT_GDB_HALT, TARGET_EVENT_HALTED, /* target entered debug state from normal execution or reset */ TARGET_EVENT_RESUMED, /* target resumed to normal execution */ TARGET_EVENT_RESUME_START, |