X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fcpu32bug-rom.c;h=2801be9ea0fb5f8ad5cd96575877113015bf161f;hb=bd5e6e7e3a8be60699e596633cd828d3446e75ee;hp=f0a4396205446498d274d448a2a2e514723c16c1;hpb=dc9e099fc0eced486ae2b49455c9da113c11f4ff;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/cpu32bug-rom.c b/gdb/cpu32bug-rom.c index f0a4396205..2801be9ea0 100644 --- a/gdb/cpu32bug-rom.c +++ b/gdb/cpu32bug-rom.c @@ -1,5 +1,6 @@ /* Remote debugging interface for CPU32Bug Rom monitor for GDB, the GNU debugger. - Copyright 1995 Free Software Foundation, Inc. + Copyright 1995, 1996, 1998, 1999, 2000, 2001 + Free Software Foundation, Inc. Written by Stu Grossman of Cygnus Support @@ -25,15 +26,12 @@ #include "target.h" #include "monitor.h" #include "serial.h" +#include "regcache.h" -static void cpu32bug_open PARAMS ((char *args, int from_tty)); +static void cpu32bug_open (char *args, int from_tty); static void -cpu32bug_supply_register (regname, regnamelen, val, vallen) - char *regname; - int regnamelen; - char *val; - int vallen; +cpu32bug_supply_register (char *regname, int regnamelen, char *val, int vallen) { int regno; @@ -146,15 +144,13 @@ init_cpu32bug_cmds (void) }; /* init_cpu32bug_cmds */ static void -cpu32bug_open (args, from_tty) - char *args; - int from_tty; +cpu32bug_open (char *args, int from_tty) { monitor_open (args, &cpu32bug_cmds, from_tty); } void -_initialize_cpu32bug_rom () +_initialize_cpu32bug_rom (void) { init_cpu32bug_cmds (); init_monitor_ops (&cpu32bug_ops);