aboutsummaryrefslogtreecommitdiff
path: root/gdb/mon960-rom.c
diff options
context:
space:
mode:
authorMark Alexander <marka@cygnus>1999-01-22 01:29:46 +0000
committerMark Alexander <marka@cygnus>1999-01-22 01:29:46 +0000
commitf5dce6c602d8c4a549197b7c5d1ecd501c2b78f6 (patch)
tree8e98835bdf26182193a042aa02fb69770eba3448 /gdb/mon960-rom.c
parenta23dbfcb07fd79ba1bb0774c8e0377ff9c5372f3 (diff)
downloadgdb-f5dce6c602d8c4a549197b7c5d1ecd501c2b78f6.zip
gdb-f5dce6c602d8c4a549197b7c5d1ecd501c2b78f6.tar.gz
gdb-f5dce6c602d8c4a549197b7c5d1ecd501c2b78f6.tar.bz2
* mon960-rom.c (_initialize_mon960): Call init_mon960_cmds
to fill in mon960_cmds structure properly.
Diffstat (limited to 'gdb/mon960-rom.c')
-rw-r--r--gdb/mon960-rom.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/mon960-rom.c b/gdb/mon960-rom.c
index 37510b8..32dcaff 100644
--- a/gdb/mon960-rom.c
+++ b/gdb/mon960-rom.c
@@ -151,7 +151,7 @@ static char *mon960_inits[] = { "\r", NULL};
static struct monitor_ops mon960_cmds ;
static void
-init_mon960_cmds(void)
+init_mon960_cmds (void)
{
mon960_cmds.flags = MO_CLR_BREAK_USES_ADDR
| MO_NO_ECHO_ON_OPEN | MO_SEND_BREAK_ON_STOP | MO_GETMEM_READ_SINGLE ; /* flags */
@@ -242,6 +242,8 @@ _initialize_mon960 ()
{
memcpy(mon960_regnames, full_regnames, sizeof(full_regnames));
+ init_mon960_cmds ();
+
init_monitor_ops (&mon960_ops);
mon960_ops.to_shortname = "mon960"; /* for the target command */