aboutsummaryrefslogtreecommitdiff
path: root/gdb/monitor.h
diff options
context:
space:
mode:
authorMark Alexander <marka@cygnus>1996-05-21 06:09:23 +0000
committerMark Alexander <marka@cygnus>1996-05-21 06:09:23 +0000
commitc92f31c6e57cb4a136b75a276ecccd97c39f79ed (patch)
treef9bfb78be9c0d04b028d2aa6747e9207ebfcabb9 /gdb/monitor.h
parent5fdebee3063a60da691b1c54fbc2278149aa41ec (diff)
downloadgdb-c92f31c6e57cb4a136b75a276ecccd97c39f79ed.zip
gdb-c92f31c6e57cb4a136b75a276ecccd97c39f79ed.tar.gz
gdb-c92f31c6e57cb4a136b75a276ecccd97c39f79ed.tar.bz2
* dsrec.c (load_srec): Add WAITACK parameter, for machines
like EST visionICE that send back an ACK after each S-record. * monitor.c (monitor_wait_srec_ack): New function. (monitor_load): Pass monitor_wait_srec_ack to load_srec if the monitor's MO_SREC_ACK flag is set. * monitor.h: Define MO_SREC_ACK flag. * remote-est.c (est_cmds): Add MO_SREC_ACK flag. * sh3-rom.c (sh3_load): Accomodate change in load_srec prototype. * srec.h: Add WAITACK parameter to load_srec prototype.
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 e61dc96..dc2f124 100644
--- a/gdb/monitor.h
+++ b/gdb/monitor.h
@@ -148,6 +148,10 @@ struct monitor_ops
#define MO_SEND_BREAK_ON_STOP 0x80
+/* If set, target sends an ACK after each S-record */
+
+#define MO_SREC_ACK 0x100
+
#define SREC_SIZE 160
extern void monitor_open PARAMS ((char *args, struct monitor_ops *ops,