This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[obish] Delete unreferenced macros
- From: Andrew Cagney <cagney at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 03 Apr 2004 12:29:07 -0500
- Subject: [obish] Delete unreferenced macros
FYI,
These macros are no longer referenced, the attached deletes their
definitioin.
committed,
Andrew
2004-04-03 Andrew Cagney <cagney@redhat.com>
* config/pa/tm-hppah.h (FRAME_SAVED_PC_IN_SIGTRAMP)
(FRAME_FIND_SAVED_REGS_IN_SIGTRAMP)
(hppa32_hpux_frame_find_saved_regs_in_sigtramp)
(FRAME_BASE_BEFORE_SIGTRAMP)
(hppa32_hpux_frame_base_before_sigtramp)
(hppa32_hpux_frame_saved_pc_in_sigtramp): Delete.
* config/pa/tm-hppa64.h (hppa64_hpux_frame_saved_pc_in_sigtramp)
(hppa64_hpux_frame_find_saved_regs_in_sigtramp)
(FRAME_FIND_SAVED_REGS_IN_SIGTRAMP)
(FRAME_BASE_BEFORE_SIGTRAMP)
(hppa64_hpux_frame_base_before_sigtramp)
(FRAME_SAVED_PC_IN_SIGTRAMP): Delete.
Index: config/pa/tm-hppa64.h
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/tm-hppa64.h,v
retrieving revision 1.31
diff -u -r1.31 tm-hppa64.h
--- config/pa/tm-hppa64.h 7 Mar 2004 18:06:14 -0000 1.31
+++ config/pa/tm-hppa64.h 3 Apr 2004 17:26:49 -0000
@@ -70,22 +70,4 @@
#undef SR4EXPORT_LDIL_OFFSET
#undef SR4EXPORT_LDO_OFFSET
-#undef FRAME_SAVED_PC_IN_SIGTRAMP
-extern void hppa64_hpux_frame_saved_pc_in_sigtramp (struct frame_info *fi,
- CORE_ADDR *tmp);
-#define FRAME_SAVED_PC_IN_SIGTRAMP(FRAME, TMP) \
- hppa64_hpux_frame_saved_pc_in_sigtramp (FRAME, TMP)
-
-#undef FRAME_BASE_BEFORE_SIGTRAMP
-extern void hppa64_hpux_frame_base_before_sigtramp (struct frame_info *fi,
- CORE_ADDR *tmp);
-#define FRAME_BASE_BEFORE_SIGTRAMP(FRAME, TMP) \
- hppa64_hpux_frame_base_before_sigtramp (FRAME, TMP)
-
-#undef FRAME_FIND_SAVED_REGS_IN_SIGTRAMP
-extern void hppa64_hpux_frame_find_saved_regs_in_sigtramp
- (struct frame_info *fi, CORE_ADDR *fsr);
-#define FRAME_FIND_SAVED_REGS_IN_SIGTRAMP(FRAME, FSR) \
- hppa64_hpux_frame_find_saved_regs_in_sigtramp (FRAME, FSR)
-
/* jimb: omitted purify call support */
Index: config/pa/tm-hppah.h
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/tm-hppah.h,v
retrieving revision 1.12
diff -u -r1.12 tm-hppah.h
--- config/pa/tm-hppah.h 9 Jan 2004 01:36:26 -0000 1.12
+++ config/pa/tm-hppah.h 3 Apr 2004 17:26:49 -0000
@@ -36,21 +36,6 @@
#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)
-
/* For HP-UX on PA-RISC we have an implementation
for the exception handling target op (in hppa-tdep.c) */
#define CHILD_ENABLE_EXCEPTION_CALLBACK