Protoization.
authorKevin Buettner <kevinb@redhat.com>
Tue, 5 Sep 2000 22:46:57 +0000 (22:46 +0000)
committerKevin Buettner <kevinb@redhat.com>
Tue, 5 Sep 2000 22:46:57 +0000 (22:46 +0000)
gdb/ChangeLog
gdb/hpux-thread.c
gdb/i386aix-nat.c

index 583bf6bf1c28121c4d0e971c675d79b3b5c2757f..4c585f328795fdf6857b8db244da28d3d73a1d47 100644 (file)
@@ -1,3 +1,8 @@
+2000-09-05  Kevin Buettner  <kevinb@redhat.com>
+
+       * i386aix-nat.c (fetch_core_registers): Protoize.
+       * hpux-thread.c (hpux_thread_xfer_memory): Protoize.
+
 2000-09-06  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
 
        * m68hc11-tdep.c (m68hc11_frame_chain): Check for pc in call dummy.
index 940ba9a338c89507a1d75fc052895a5ddfe98ec6..af456f16d6434c5246b72ed731819be76eaa313d 100644 (file)
@@ -433,12 +433,8 @@ hpux_thread_prepare_to_store (void)
 }
 
 static int
-hpux_thread_xfer_memory (memaddr, myaddr, len, dowrite, target)
-     CORE_ADDR memaddr;
-     char *myaddr;
-     int len;
-     int dowrite;
-     struct target_ops *target;        /* ignored */
+hpux_thread_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len,
+                        int dowrite, struct target_ops *target)
 {
   int retval;
   struct cleanup *old_chain;
index 0a432ddf933f49ce70d3bc5012a14c83c22d72b5..c32f151a2ba4b3e9e0d07201f0f66c73ab58d926 100644 (file)
@@ -314,12 +314,21 @@ static int core_regmap[] =
   CD_DS, CD_ES, CD_FS, CD_GS,
 };
 
+/* Provide registers to GDB from a core file.
+
+   CORE_REG_SECT points to an array of bytes, which were obtained from
+   a core file which BFD thinks might contain register contents. 
+   CORE_REG_SIZE is its size.
+
+   WHICH says which register set corelow suspects this is:
+     0 --- the general-purpose register set
+     2 --- the floating-point register set
+
+   REG_ADDR isn't used.  */
+
 static void
-fetch_core_registers (core_reg_sect, core_reg_size, which, reg_addr)
-     char *core_reg_sect;
-     unsigned core_reg_size;
-     int which;
-     CORE_ADDR reg_addr;       /* ignored */
+fetch_core_registers (char *core_reg_sect, unsigned core_reg_size,
+                     int which, CORE_ADDR reg_addr)
 {
 
   if (which == 0)