diff options
author | Mark Alexander <marka@cygnus> | 1996-05-21 06:09:23 +0000 |
---|---|---|
committer | Mark Alexander <marka@cygnus> | 1996-05-21 06:09:23 +0000 |
commit | c92f31c6e57cb4a136b75a276ecccd97c39f79ed (patch) | |
tree | f9bfb78be9c0d04b028d2aa6747e9207ebfcabb9 /gdb/sh3-rom.c | |
parent | 5fdebee3063a60da691b1c54fbc2278149aa41ec (diff) | |
download | gdb-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/sh3-rom.c')
-rw-r--r-- | gdb/sh3-rom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/sh3-rom.c b/gdb/sh3-rom.c index 701bf28..6279c9a 100644 --- a/gdb/sh3-rom.c +++ b/gdb/sh3-rom.c @@ -123,7 +123,7 @@ sh3_load (desc, file, hashmark) if (parallel_in_use) { monitor_printf("pl;s\r"); - load_srec (parallel, file, 80, SREC_ALL, hashmark); + load_srec (parallel, file, 80, SREC_ALL, hashmark, NULL); monitor_expect_prompt (NULL, 0); } else @@ -133,7 +133,7 @@ sh3_load (desc, file, hashmark) SERIAL_WRITE (desc, "\006", 1); /* Send ACK */ monitor_expect ("LO x\r", NULL, 0); /* Look for filename */ - load_srec (desc, file, 80, SREC_ALL, hashmark); + load_srec (desc, file, 80, SREC_ALL, hashmark, NULL); monitor_expect ("\005", NULL, 0); /* Look for ENQ */ SERIAL_WRITE (desc, "\006", 1); /* Send ACK */ |