summaryrefslogtreecommitdiff
path: root/src/server/gdb_server.h
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-09-24 06:34:23 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-09-24 06:34:23 +0000
commit37755ffdb63164e768745369a98f06c5ec9d476d (patch)
treee4e0f6f3b8e435f37bf7a546c448c68ec251eb27 /src/server/gdb_server.h
parent23e22b6ec42c137b48ef6359075a0fe819706f3c (diff)
downloadopenocd+libswd-37755ffdb63164e768745369a98f06c5ec9d476d.tar.gz
openocd+libswd-37755ffdb63164e768745369a98f06c5ec9d476d.tar.bz2
openocd+libswd-37755ffdb63164e768745369a98f06c5ec9d476d.tar.xz
openocd+libswd-37755ffdb63164e768745369a98f06c5ec9d476d.zip
When attaching GDB to OpenOCD, the target state is no longer affected.
Added gdb_sync feature that allows GDB to sync up to target state. Issue "monitor gdb_sync" and the next stepi, will return immediately with updated register values to GDB. git-svn-id: svn://svn.berlios.de/openocd/trunk@2754 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/server/gdb_server.h')
-rw-r--r--src/server/gdb_server.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/gdb_server.h b/src/server/gdb_server.h
index fb4cdbab..ea981f31 100644
--- a/src/server/gdb_server.h
+++ b/src/server/gdb_server.h
@@ -43,6 +43,10 @@ typedef struct gdb_connection_s
int closed;
int busy;
int noack_mode;
+ bool sync; /* set flag to true if you want the next stepi to return immediately.
+ allowing GDB to pick up a fresh set of register values from the target
+ without modifying the target state. */
+
} gdb_connection_t;
typedef struct gdb_service_s