1999-02-03 Martin Hunt <hunt@cygnus.com>
[deliverable/binutils-gdb.git] / gdb / core-aout.c
index 68dc1d4e05ea2d7eb9f5b5fb61619ced52bac4e5..3c1d499256e251ff3ce5f4ff48457540a42145da 100644 (file)
@@ -1,5 +1,5 @@
 /* Extract registers from a "standard" core file, for GDB.
-   Copyright (C) 1988-1995  Free Software Foundation, Inc.
+   Copyright (C) 1988-1998  Free Software Foundation, Inc.
 
 This file is part of GDB.
 
@@ -56,6 +56,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 static void fetch_core_registers PARAMS ((char *, unsigned, int, CORE_ADDR));
 
+void _initialize_core_aout PARAMS ((void));
+
 /* Extract the register values out of the core file and store
    them where `read_register' will find them.
 
@@ -102,7 +104,7 @@ fetch_core_registers (core_reg_sect, core_reg_size, which, reg_addr)
     }
 
   if (bad_reg >= 0)
-    error ("Register %s not found in core file.", reg_names[bad_reg]);
+    error ("Register %s not found in core file.", REGISTER_NAME (bad_reg));
 }
 
 
This page took 0.023553 seconds and 4 git commands to generate.