aboutsummaryrefslogtreecommitdiff
path: root/gdb/monitor.h
diff options
context:
space:
mode:
authorDawn Perchik <dawn@cygnus>1996-03-11 23:49:22 +0000
committerDawn Perchik <dawn@cygnus>1996-03-11 23:49:22 +0000
commit2e665cd3adfa105b625084afc3b92e8ebeec95d8 (patch)
treeef3c88b20f9153cea88c554a14e05a2440edbe11 /gdb/monitor.h
parent5d06fa80b20ad5cb5729eadc128b6ac970875eaf (diff)
downloadgdb-2e665cd3adfa105b625084afc3b92e8ebeec95d8.zip
gdb-2e665cd3adfa105b625084afc3b92e8ebeec95d8.tar.gz
gdb-2e665cd3adfa105b625084afc3b92e8ebeec95d8.tar.bz2
* mon960-rom.c: New file; support mon960 rom monitor on i960.
* monitor.c (monitor_debug): Change remotedebug to buffer strings. * monitor.c (monitor_open): Add test for flag MO_NO_ECHO_ON_OPEN before epecting prompt and echo during open. * monitor.c (monitor_stop): Add test for flag MO_SEND_BREAK_ON_OPEN to determine if break should be sent as stop command. * monitor.h: Add flags MO_NO_ECHO_ON_OPEN and MO_SEND_BREAK_ON_OPEN. * i960-tdep.c (mon960_frame_chain_valid): New function for getting stack frame on mon960. * Makefile.in: Add mon960 files. * configure.in: Changed i960-*-coff* and i960-*-elf* to target mon960; added i960-nindy-coff* and i960-nindy-elf* for target nindy. * configure: Regenerated. * config/i960/mon960.mt, config/i960/tm-mon960.h: New files; support mon960 rom monitor on i960.
Diffstat (limited to 'gdb/monitor.h')
-rw-r--r--gdb/monitor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/monitor.h b/gdb/monitor.h
index 7fbf8cc..daad1ca 100644
--- a/gdb/monitor.h
+++ b/gdb/monitor.h
@@ -121,6 +121,10 @@ struct monitor_ops
#define MO_GETMEM_READ_SINGLE 0x10 /* getmem can only read one loc at a time */
#define MO_HANDLE_NL 0x20 /* handle \r\n combinations */
+#define MO_NO_ECHO_ON_OPEN 0x40 /* don't expect echos in monitor_open */
+
+#define MO_SEND_BREAK_ON_STOP 0x80 /* If set, send break to stop monitor */
+
extern struct monitor_ops *current_monitor;
#define LOADTYPES (current_monitor->loadtypes)