summaryrefslogtreecommitdiff
path: root/src/target/target.h
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2009-10-12 09:27:27 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2009-10-12 09:27:27 +0200
commitc8d935ab7cbffb8b72e52bc39bfe85bb97dce0ac (patch)
tree248eace01056bb90b12b8e507f43b18b72f88853 /src/target/target.h
parentb23b096c8e712aabab263848594a2703f877d963 (diff)
downloadopenocd_libswd-c8d935ab7cbffb8b72e52bc39bfe85bb97dce0ac.tar.gz
openocd_libswd-c8d935ab7cbffb8b72e52bc39bfe85bb97dce0ac.tar.bz2
openocd_libswd-c8d935ab7cbffb8b72e52bc39bfe85bb97dce0ac.tar.xz
openocd_libswd-c8d935ab7cbffb8b72e52bc39bfe85bb97dce0ac.zip
If halt times out, stop GDB. Allows e.g. manual reset via monitor commands.
Diffstat (limited to 'src/target/target.h')
-rw-r--r--src/target/target.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/target.h b/src/target/target.h
index 6547d4d7..0f8be6f2 100644
--- a/src/target/target.h
+++ b/src/target/target.h
@@ -148,6 +148,8 @@ typedef struct target_s
int display; /* display async info in telnet session. Do not display
* lots of halted/resumed info when stepping in debugger. */
+ bool halt_issued; /* did we transition to halted state? */
+ long long halt_issued_time; /* Note time when halt was issued */
} target_t;
enum target_event