aboutsummaryrefslogtreecommitdiff
path: root/gdb/rom68k-rom.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1995-04-08 01:05:01 +0000
committerStu Grossman <grossman@cygnus>1995-04-08 01:05:01 +0000
commit7952bce6fcd75887c2601b63ed577c80388fa185 (patch)
tree12dc7ad4369bf8edc6864d437eb828c2b02f34a8 /gdb/rom68k-rom.c
parent1a56be5c4fc68582ccb4a6108c0fa5d719a08f57 (diff)
downloadgdb-7952bce6fcd75887c2601b63ed577c80388fa185.zip
gdb-7952bce6fcd75887c2601b63ed577c80388fa185.tar.gz
gdb-7952bce6fcd75887c2601b63ed577c80388fa185.tar.bz2
* monitor.c: make_xmodem_packet and print_xmodem_packet go away.
send_xmodem_packet shows up to do the obvious. Lots of fixes to xmodem downloads including resetting of block number at start of new transfers, fix for buffer overrun problem, addition of CRC generation code. * (monitor_open): loadtype_str and loadproto_str now default to first entry in monitor_ops->loadtypes. * (monitor_wait): Lengthen register dump buf, because of verbose Winbond monitor. * (monitor_fetch_register): Report unimplemented registers as 0. * (monitor_read_memory): Only do 16 byte aligned transfers because of formatting weirdness with the Winbond monitor. Also, ignore non-hex, non-whitespace formatting between bytes (same monitor). * (monitor_load): Clean up logic. * (monitor_load_srec): Re-do xmodem support. Move lots of it into send_xmodem_packet. * (getacknak): Get rid of polls and timeouts. Handle CRC requests from receiver. * (monitor_make_srec): Efficiency improvements. Don't call sprintf to output two digit hex numbers. * (crcinit, docrc): New, CRC-16 support routines. * (send_xmodem_packet): New routine to generate either CRC-16 or checksummed xmodem packets. * remote-est.c (est_loadtypes), rom68k-rom.c (rom68k_loadtypes): Reduce tables down to only the load types supported by each monitor. * w89k-rom.c (w89k_supply_register): Parses output of Winbond register dumps. * (w89k_loadtypes, w89k_loadprotos): Reduce to just srec/xmodem. * (w89k_cmds): Add clear all breakpoints, memory fill, and dump registers commands.
Diffstat (limited to 'gdb/rom68k-rom.c')
-rw-r--r--gdb/rom68k-rom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rom68k-rom.c b/gdb/rom68k-rom.c
index 0fccb82..b5dfe34 100644
--- a/gdb/rom68k-rom.c
+++ b/gdb/rom68k-rom.c
@@ -96,7 +96,7 @@ static char *rom68k_regnames[NUM_REGS] = {
static struct target_ops rom68k_ops;
-static char *rom68k_loadtypes[] = {"none", "srec", "default", NULL};
+static char *rom68k_loadtypes[] = {"srec", NULL};
static char *rom68k_loadprotos[] = {"none", NULL};
static char *rom68k_inits[] = {".\r\r", NULL}; /* Exits pm/pr & download cmds */