aboutsummaryrefslogtreecommitdiff
path: root/gdb/ocd.h
diff options
context:
space:
mode:
authorGeoffrey Noer <noer@cygnus>1997-08-08 02:57:35 +0000
committerGeoffrey Noer <noer@cygnus>1997-08-08 02:57:35 +0000
commit9cf7f520c671cdb644fb987facea36ff5e597605 (patch)
tree4aaec4ac63998804ae2483d5915b94153ea468eb /gdb/ocd.h
parent1154b47ab13c0cee1c409f81fa5f0dd4186a0050 (diff)
downloadgdb-9cf7f520c671cdb644fb987facea36ff5e597605.zip
gdb-9cf7f520c671cdb644fb987facea36ff5e597605.tar.gz
gdb-9cf7f520c671cdb644fb987facea36ff5e597605.tar.bz2
Thu Aug 7 19:40:52 1997 Geoffrey Noer <noer@cygnus.com>
Changes to OCD support to support wiggler box as well as target boxes: * ocd.c: change speed in init command to 0 from 80, add (temporary) logging commands to help debugging, (ocd_open): if "target ocd wiggler lpt" then use special ser-ocd.c serial interface which communicates with Wigglers.dll, otherwise do as we did before (ocd_get_packet): add OCD_LOG_FILE and OCD_SET_CONNECTION to switch of known commands of len 0 * ocd.h: add OCD_LOG_FILE * serial.c (serial_open): do serial_interface_lookup on ocd in the case of ocd * ser-ocd.c: add buffer to contain responses from sending a command to the Wigglers.dll. (ocd_readchar): return curr char from buffer and increment ptr (ocd_write): send buffer to Wigglers.dll, storing response in return buffer and initializing curr location ptr to start of buffer.
Diffstat (limited to 'gdb/ocd.h')
-rw-r--r--gdb/ocd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/ocd.h b/gdb/ocd.h
index 1e13f18..d38d889 100644
--- a/gdb/ocd.h
+++ b/gdb/ocd.h
@@ -70,6 +70,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define OCD_SET_STATUS 0x0a /* Set status */
#define OCD_SET_CONNECTION 0xf0 /* Set connection (init Wigglers.dll) */
+#define OCD_LOG_FILE 0xf1 /* Cmd to get Wigglers.dll to log cmds */
#define OCD_FLAG_STOP 0x0 /* Stop the target, enter BDM */
#define OCD_FLAG_START 0x01 /* Start the target at PC */
#define OCD_FLAG_RETURN_STATUS 0x04 /* Return async status */