* s390-tdep.c (enum pv_boolean): Remove.
[deliverable/binutils-gdb.git] / gdb / abug-rom.c
index 8a9e8ff47c7fdbc1925997c9b7ea48eba6d7e7c9..e54853913c90e8ac0f3c174267d742fbf667809b 100644 (file)
@@ -28,6 +28,8 @@
 #include "serial.h"
 #include "regcache.h"
 
+#include "m68k-tdep.h"
+
 /* Prototypes for local functions. */
 
 static void abug_open (char *args, int from_tty);
@@ -55,12 +57,12 @@ abug_supply_register (char *regname, int regnamelen, char *val, int vallen)
     case 'D':
       if (regname[1] < '0' || regname[1] > '7')
        return;
-      regno = regname[1] - '0' + D0_REGNUM;
+      regno = regname[1] - '0' + M68K_D0_REGNUM;
       break;
     case 'A':
       if (regname[1] < '0' || regname[1] > '7')
        return;
-      regno = regname[1] - '0' + A0_REGNUM;
+      regno = regname[1] - '0' + M68K_A0_REGNUM;
       break;
     default:
       return;
@@ -142,7 +144,7 @@ init_abug_cmds (void)
   abug_cmds.getreg.term_cmd = ".\r";   /* getreg.term_cmd */
   abug_cmds.dump_registers = "rd\r";   /* dump_registers */
   abug_cmds.register_pattern = "\\(\\w+\\) +=\\([0-9a-fA-F]+\\b\\)";   /* register_pattern */
-  abug_cmds.supply_register = abug_supply_register;    /* supply_register */
+  abug_cmds.supply_register = abug_supply_register;
   abug_cmds.load_routine = NULL;       /* load_routine (defaults to SRECs) */
   abug_cmds.load = "lo 0\r";   /* download command */
   abug_cmds.loadresp = "\n";   /* load response */
@@ -162,6 +164,8 @@ abug_open (char *args, int from_tty)
   monitor_open (args, &abug_cmds, from_tty);
 }
 
+extern initialize_file_ftype _initialize_abug_rom; /* -Wmissing-prototypes */
+
 void
 _initialize_abug_rom (void)
 {
This page took 0.023936 seconds and 4 git commands to generate.