aboutsummaryrefslogtreecommitdiff
path: root/gdb/op50-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/op50-rom.c
parentb7881f82eeb99623eb44950561a805e8052e7554 (diff)
downloadfsf-binutils-gdb-21ed3dcdbe9c5071a7e194ad910396dcf056665c.zip
fsf-binutils-gdb-21ed3dcdbe9c5071a7e194ad910396dcf056665c.tar.gz
fsf-binutils-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/op50-rom.c')
-rw-r--r--gdb/op50-rom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/op50-rom.c b/gdb/op50-rom.c
index 37aa61e..b0c853a 100644
--- a/gdb/op50-rom.c
+++ b/gdb/op50-rom.c
@@ -119,7 +119,7 @@ struct monitor_ops op50n_cmds = {
" ", /* end-of-command delimitor */
".\n", /* optional command terminator */
&op50n_ops, /* target operations */
- "srec,binary", /* load types */
+ "srec,ascii-srec,default", /* load types */
op50n_regnames
};