aboutsummaryrefslogtreecommitdiff
path: root/gdb/sh3-rom.c
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1996-12-11 20:14:11 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1996-12-11 20:14:11 +0000
commiteb28c55a5abaa7f5404f6aa7d218ce99787f81d3 (patch)
treee002c11284202316149eecb19c53e0fb874e33b7 /gdb/sh3-rom.c
parent77955104badf3d45e1d53a3d1d269f45ca18858e (diff)
downloadgdb-eb28c55a5abaa7f5404f6aa7d218ce99787f81d3.zip
gdb-eb28c55a5abaa7f5404f6aa7d218ce99787f81d3.tar.gz
gdb-eb28c55a5abaa7f5404f6aa7d218ce99787f81d3.tar.bz2
* monitor.c (monitor_load): Add support for load address argument.
* dsrec.c: #include <time.h>. (load_srec): New argument load_offset. Print download stats. * srec.h (load_srec): Update prototype. * sh3-rom.c (sh3_load): Update call to load_srec.
Diffstat (limited to 'gdb/sh3-rom.c')
-rw-r--r--gdb/sh3-rom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/sh3-rom.c b/gdb/sh3-rom.c
index 7b2718a..9299260 100644
--- a/gdb/sh3-rom.c
+++ b/gdb/sh3-rom.c
@@ -124,7 +124,7 @@ sh3_load (desc, file, hashmark)
if (parallel_in_use)
{
monitor_printf("pl;s\r");
- load_srec (parallel, file, 80, SREC_ALL, hashmark, NULL);
+ load_srec (parallel, file, 0, 80, SREC_ALL, hashmark, NULL);
monitor_expect_prompt (NULL, 0);
}
else
@@ -134,7 +134,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, NULL);
+ load_srec (desc, file, 0, 80, SREC_ALL, hashmark, NULL);
monitor_expect ("\005", NULL, 0); /* Look for ENQ */
SERIAL_WRITE (desc, "\006", 1); /* Send ACK */