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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user