* mon960-rom.c (_initialize_mon960): Call init_mon960_cmds

to fill in mon960_cmds structure properly.
This commit is contained in:
Mark Alexander 1999-01-22 01:29:46 +00:00
parent a23dbfcb07
commit f5dce6c602
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,14 @@
Thu Jan 21 17:25:46 1999 Mark Alexander <marka@cygnus.com>
* mon960-rom.c (_initialize_mon960): Call init_mon960_cmds
to fill in mon960_cmds structure properly.
Wed Jan 20 17:53:22 1999 Stan Shebs <shebs@andros.cygnus.com>
* remote-sds.c (sds_ops): Define only once.
(init_sds_ops, sds_command, _initialize_remote_sds): Declare.
(init_sds_ops): Init only non-zero fields.
Wed Jan 20 15:45:15 1999 Mark Alexander <marka@cygnus.com>
* h8300-tdep.c (original_register_names, h8300h_register_names,
@ -20,7 +31,6 @@ Wed Jan 20 15:45:15 1999 Mark Alexander <marka@cygnus.com>
v850ice.c win32-nat.c: cosmetic changes to conform to coding
standards.
1999-01-19 Jim Blandy <jimb@zwingli.cygnus.com>
Use aclocal to generate GDB's aclocal.m4 script.

View File

@ -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 */