* sun3-xdep.c (fetch_core_registers): Lint.
authorJohn Gilmore <gnu@cygnus>
Fri, 17 Apr 1992 06:58:05 +0000 (06:58 +0000)
committerJohn Gilmore <gnu@cygnus>
Fri, 17 Apr 1992 06:58:05 +0000 (06:58 +0000)
* tm-sun3.h:  Prototype lint.
* value.h:  Typo.

gdb/ChangeLog
gdb/sun3-xdep.c
gdb/tm-sun3.h

index c190ce7cbf3cf08f2a1e55bfd25ace7093b65d3a..3f8665fd2897d7ae5c78065f3c26f49a44cdcb6b 100644 (file)
@@ -1,3 +1,9 @@
+Thu Apr 16 23:50:12 1992  John Gilmore  (gnu at cygnus.com)
+
+       * sun3-xdep.c (fetch_core_registers):  Lint.
+       * tm-sun3.h:  Prototype lint.
+       * value.h:  Typo.
+
 Thu Apr 16 19:56:50 1992  Fred Fish  (fnf@cygnus.com)
 
        * dwarfread.c (TARGET_FT_POINTER_SIZE, TARGET_FT_LONG_SIZE):
index b1f8cbe63121810341f116b7ed069758c9f217b5..f6db72da0ec650c3d4b9cd29a25c62e02356e7a9 100644 (file)
@@ -111,8 +111,8 @@ fetch_core_registers (core_reg_sect, core_reg_size, which, reg_addr)
       error ("Can't find registers in core file");
 
     bcopy ((char *)regs, registers, 16 * 4);
-    supply_register (PS_REGNUM, &regs->r_ps);
-    supply_register (PC_REGNUM, &regs->r_pc);
+    supply_register (PS_REGNUM, (char *)&regs->r_ps);
+    supply_register (PC_REGNUM, (char *)&regs->r_pc);
 
   } else if (which == 2) {
 
index 0169199795f3219d59beef8cd91763e1fcf9093b..42d010a19465155404dd342ecf38fbb4d7fbbce3 100644 (file)
@@ -69,6 +69,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #undef SAVED_PC_AFTER_CALL
 
+#ifdef __STDC__
+struct frame_info;
+#endif
+
 extern CORE_ADDR sun3_saved_pc_after_call PARAMS ((struct frame_info *));
 
 #define SAVED_PC_AFTER_CALL(frame) \