* alpha-nat.c (fetch_core_registers): Match Sep 4 gdbcore.h prototype
authorFred Fish <fnf@specifix.com>
Mon, 9 Sep 1996 03:14:35 +0000 (03:14 +0000)
committerFred Fish <fnf@specifix.com>
Mon, 9 Sep 1996 03:14:35 +0000 (03:14 +0000)
change for core_read_registers in struct core_fns.
* core-regset.c (fetch_core_registers): Ditto & add prototype.
* core-sol2.c (fetch_core_registers): Ditto & add prototype.
* i386aix-nat.c (fetch_core_registers): Ditto & add prototype.
* i386b-nat.c (fetch_core_registers): Ditto.
* i386mach-nat.c (fetch_core_registers): Ditto & add prototype.
* irix4-nat.c (fetch_core_registers): Ditto.
* irix5-nat.c (fetch_core_registers): Ditto.
* lynx-nat.c (fetch_core_registers): Ditto & add prototype.
* m68knbsd-nat.c (fetch_core_registers): Ditto.
* mips-nat.c (fetch_core_registers): Ditto & add prototype.
* rs6000-nat.c (fetch_core_registers): Ditto.
* sparc-nat.c (fetch_core_registers): Ditto.
* sun3-nat.c (fetch_core_registers): Ditto & add prototype.
* ultra3-nat.c (fetch_core_registers): Ditto & add prototype.

* alpha-nat.c (register_addr): Match Sep 4 gdbcore.h prototype change.
* delta68-nat.c (register_addr): Ditto.
* gdbserver/low-linux.c (register_addr): Ditto.
* gdbserver/low-hppabsd.c (register_addr): Ditto.
* i386m3-nat.c (register_addr): Ditto.
* mips-nat.c (register_addr): Ditto.
* ultra3-nat.c (register_addr): Ditto.

gdb/gdbserver/low-hppabsd.c
gdb/gdbserver/low-linux.c

index 337e6ed6cd99b0e3d77bb750a3fea1fc08e2a152..c784d0c61accb6e714e4602cb648ac8dae144653 100644 (file)
@@ -161,12 +161,12 @@ myresume (step, signal)
     - KERNEL_U_ADDR
 #endif
 
-unsigned int
+CORE_ADDR
 register_addr (regno, blockend)
      int regno;
-     int blockend;
+     CORE_ADDR blockend;
 {
-  int addr;
+  CORE_ADDR addr;
 
   if (regno < 0 || regno >= ARCH_NUM_REGS)
     error ("Invalid register number %d.", regno);
index 34dc64355f69216b7b4eb3a060c022a9d2d0afc8..429d3db7c83af7aa4694fa3507073f6911be2ee6 100644 (file)
@@ -199,12 +199,12 @@ i386_register_u_addr (blockend, regnum)
   
 }
 
-unsigned int
+CORE_ADDR
 register_addr (regno, blockend)
      int regno;
-     int blockend;
+     CORE_ADDR blockend;
 {
-  int addr;
+  CORE_ADDR addr;
 
   if (regno < 0 || regno >= ARCH_NUM_REGS)
     error ("Invalid register number %d.", regno);