From b0c8c726888d90783a178afe4df237083ac70c8f Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Fri, 17 Apr 1992 06:58:05 +0000 Subject: [PATCH] * sun3-xdep.c (fetch_core_registers): Lint. * tm-sun3.h: Prototype lint. * value.h: Typo. --- gdb/ChangeLog | 6 ++++++ gdb/sun3-xdep.c | 4 ++-- gdb/tm-sun3.h | 4 ++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c190ce7cbf3..3f8665fd289 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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): diff --git a/gdb/sun3-xdep.c b/gdb/sun3-xdep.c index b1f8cbe6312..f6db72da0ec 100644 --- a/gdb/sun3-xdep.c +++ b/gdb/sun3-xdep.c @@ -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, ®s->r_ps); - supply_register (PC_REGNUM, ®s->r_pc); + supply_register (PS_REGNUM, (char *)®s->r_ps); + supply_register (PC_REGNUM, (char *)®s->r_pc); } else if (which == 2) { diff --git a/gdb/tm-sun3.h b/gdb/tm-sun3.h index 0169199795f..42d010a1946 100644 --- a/gdb/tm-sun3.h +++ b/gdb/tm-sun3.h @@ -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) \ -- 2.30.2