[patch/hp] config/pa/tm-hppah.h: fix extern declarations
Michael Elizabeth Chastain
mec.gnu@mindspring.com
Fri Jan 9 01:35:00 GMT 2004
Some extern declarations got left behind during a renaming operation.
This doesn't make gdb any better or worse; it just threw some compiler
warnings.
Testing: I built gdb on native hppa2.0w-hp-hpux11.11, but did not run
the test suite. 'break main; run' works.
I am committing this as an obvious fix.
Michael C
2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
* config/pa/tm-hppa.h: Update extern declarations for
hppa32_hpux_frame_saved_pc_in_sigtramp,
hppa32_hpux_frame_base_before_sigtramp, and
hppa32_hpux_frame_find_saved_regs_in_sigtramp.
Index: tm-hppah.h
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/tm-hppah.h,v
retrieving revision 1.11
diff -c -3 -p -r1.11 tm-hppah.h
*** tm-hppah.h 9 Jan 2004 00:25:05 -0000 1.11
--- tm-hppah.h 9 Jan 2004 00:32:30 -0000
***************
*** 1,5 ****
/* Parameters for execution on an HP PA-RISC machine, running HPUX, for GDB.
! Copyright 1991, 1992, 1995, 1998, 2002, 2003
Free Software Foundation, Inc.
Contributed by the Center for Software Science at the
--- 1,5 ----
/* Parameters for execution on an HP PA-RISC machine, running HPUX, for GDB.
! Copyright 1991, 1992, 1995, 1998, 2002, 2003, 2004
Free Software Foundation, Inc.
Contributed by the Center for Software Science at the
*************** struct frame_info;
*** 36,52 ****
#include "somsolib.h"
#endif
! extern void hppa_hpux_frame_saved_pc_in_sigtramp (struct frame_info *fi,
CORE_ADDR *tmp);
#define FRAME_SAVED_PC_IN_SIGTRAMP(FRAME, TMP) \
hppa32_hpux_frame_saved_pc_in_sigtramp (FRAME, TMP)
! extern void hppa_hpux_frame_base_before_sigtramp (struct frame_info *fi,
CORE_ADDR *tmp);
#define FRAME_BASE_BEFORE_SIGTRAMP(FRAME, TMP) \
hppa32_hpux_frame_base_before_sigtramp (FRAME, TMP)
! extern void hppa_hpux_frame_find_saved_regs_in_sigtramp
(struct frame_info *fi, CORE_ADDR *fsr);
#define FRAME_FIND_SAVED_REGS_IN_SIGTRAMP(FRAME, FSR) \
hppa32_hpux_frame_find_saved_regs_in_sigtramp (FRAME, FSR)
--- 36,52 ----
#include "somsolib.h"
#endif
! extern void hppa32_hpux_frame_saved_pc_in_sigtramp (struct frame_info *fi,
CORE_ADDR *tmp);
#define FRAME_SAVED_PC_IN_SIGTRAMP(FRAME, TMP) \
hppa32_hpux_frame_saved_pc_in_sigtramp (FRAME, TMP)
! extern void hppa32_hpux_frame_base_before_sigtramp (struct frame_info *fi,
CORE_ADDR *tmp);
#define FRAME_BASE_BEFORE_SIGTRAMP(FRAME, TMP) \
hppa32_hpux_frame_base_before_sigtramp (FRAME, TMP)
! extern void hppa32_hpux_frame_find_saved_regs_in_sigtramp
(struct frame_info *fi, CORE_ADDR *fsr);
#define FRAME_FIND_SAVED_REGS_IN_SIGTRAMP(FRAME, FSR) \
hppa32_hpux_frame_find_saved_regs_in_sigtramp (FRAME, FSR)
More information about the Gdb-patches
mailing list