When attaching GDB to OpenOCD, the target state is no longer affected.
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 24 Sep 2009 06:34:23 +0000 (06:34 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 24 Sep 2009 06:34:23 +0000 (06:34 +0000)
commit37755ffdb63164e768745369a98f06c5ec9d476d
treee4e0f6f3b8e435f37bf7a546c448c68ec251eb27
parent23e22b6ec42c137b48ef6359075a0fe819706f3c
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
src/server/gdb_server.c
src/server/gdb_server.h