aboutsummaryrefslogtreecommitdiff
path: root/gdb/w89k-rom.c
diff options
context:
space:
mode:
authorRob Savoye <rob@cygnus>1994-10-18 00:55:51 +0000
committerRob Savoye <rob@cygnus>1994-10-18 00:55:51 +0000
commit21ed3dcdbe9c5071a7e194ad910396dcf056665c (patch)
treed556ca27b05bfab6e7f85ad2822afa182477c97e /gdb/w89k-rom.c
parentb7881f82eeb99623eb44950561a805e8052e7554 (diff)
downloadgdb-21ed3dcdbe9c5071a7e194ad910396dcf056665c.zip
gdb-21ed3dcdbe9c5071a7e194ad910396dcf056665c.tar.gz
gdb-21ed3dcdbe9c5071a7e194ad910396dcf056665c.tar.bz2
* monitor.c (set_loadtype_command): Fixed so it doesn't core dump.
* monitor.c (monitor_load): check the load type and load the file accordingly. Default to gr_load_image(). * monitor.c (monitor_load_ascii_srec): Load an ascii file in srecord format by downloading to the monitor. * w89k-rom.c, op50n-rom.c: set supported load types.
Diffstat (limited to 'gdb/w89k-rom.c')
-rw-r--r--gdb/w89k-rom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/w89k-rom.c b/gdb/w89k-rom.c
index 7e8a628..45e14fe 100644
--- a/gdb/w89k-rom.c
+++ b/gdb/w89k-rom.c
@@ -114,7 +114,7 @@ struct monitor_ops w89k_cmds = {
"", /* end-of-command delimitor */
"", /* optional command terminator */
&w89k_ops, /* target operations */
- "xmodem-srec,xmodem-som", /* load types */
+ "srec,xmodem-ascii,xmodem-srec,default",/* load types */
w89k_regnames /* registers names */
};