bfd/
[deliverable/binutils-gdb.git] / gdb / ppcbug-rom.c
index 16a7f9dd2b2284b8daf629245937b037add8967a..ee0465660f7626c1dfccf343d4d1e6c1c97f481e 100644 (file)
@@ -1,6 +1,6 @@
 /* Remote debugging interface for PPCbug (PowerPC) Rom monitor
    for GDB, the GNU debugger.
-   Copyright 1995 Free Software Foundation, Inc.
+   Copyright 1995, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
 
    Written by Stu Grossman of Cygnus Support
 
@@ -26,6 +26,7 @@
 #include "target.h"
 #include "monitor.h"
 #include "serial.h"
+#include "regcache.h"
 
 static void
 ppcbug_supply_register (char *regname, int regnamelen, char *val, int vallen)
@@ -165,7 +166,7 @@ init_ppc_cmds (char *LOAD_CMD,
   OPS->getreg.term = NULL;     /* getreg.term */
   OPS->getreg.term_cmd = NULL; /* getreg.term_cmd */
   OPS->register_pattern = "\\(\\w+\\) +=\\([0-9a-fA-F]+\\b\\)";                /* register_pattern */
-  OPS->supply_register = ppcbug_supply_register;       /* supply_register */
+  OPS->supply_register = ppcbug_supply_register;
   OPS->dump_registers = "rd\r";        /* dump all registers */
   OPS->load_routine = NULL;    /* load_routine (defaults to SRECs) */
   OPS->load = LOAD_CMD;                /* download command */
@@ -195,6 +196,8 @@ ppcbug_open1 (char *args, int from_tty)
   monitor_open (args, &ppcbug_cmds1, from_tty);
 }
 
+extern initialize_file_ftype _initialize_ppcbug_rom; /* -Wmissing-prototypes */
+
 void
 _initialize_ppcbug_rom (void)
 {
This page took 0.035675 seconds and 4 git commands to generate.