aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-est.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/remote-est.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/remote-est.c')
-rw-r--r--gdb/remote-est.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-est.c b/gdb/remote-est.c
index c276275..8386659 100644
--- a/gdb/remote-est.c
+++ b/gdb/remote-est.c
@@ -92,7 +92,7 @@ static char *est_regnames[NUM_REGS] =
static struct target_ops est_ops;
-static char *est_loadtypes[] = {"none", "srec", "default", NULL};
+static char *est_loadtypes[] = {"srec", NULL};
static char *est_loadprotos[] = {"none", NULL};
static char *est_inits[] = {"he\r", /* Resets the prompt, and clears repeated cmds */