From c8d935ab7cbffb8b72e52bc39bfe85bb97dce0ac Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Mon, 12 Oct 2009 09:27:27 +0200 Subject: If halt times out, stop GDB. Allows e.g. manual reset via monitor commands. --- src/target/target.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/target/target.h') 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 -- cgit v1.2.3