This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[obish] Delete some DEPRECATED_IN_SIGTRAMP definitions


This removes two types of DEPRECATED_IN_SIGTRAMP definition:

name && STREQ(name, "_sigtramp"):
Redundant, legacy_pc_in_sigtramp contains identical code.

0:
Redundant, already disabled by the lack of a signal trampoline frame unwinder.


committed,
Andrew

2004-04-30  Andrew Cagney  <cagney@redhat.com>

	* config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Delete.
	* config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Delete.
	* config/mips/tm-nbsd.h: Delete undef DEPRECATED_IN_SIGTRAMP.
	* config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Delete.
	* config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Delete.

Index: config/arm/tm-embed.h
===================================================================
RCS file: /cvs/src/src/gdb/config/arm/tm-embed.h,v
retrieving revision 1.8
diff -p -u -r1.8 tm-embed.h
--- config/arm/tm-embed.h	18 Mar 2004 19:59:06 -0000	1.8
+++ config/arm/tm-embed.h	30 Apr 2004 20:50:35 -0000
@@ -46,7 +46,4 @@
 extern int arm_in_call_stub (CORE_ADDR pc, char *name);
 extern CORE_ADDR arm_skip_stub (CORE_ADDR pc);
 
-#undef  DEPRECATED_IN_SIGTRAMP
-#define DEPRECATED_IN_SIGTRAMP(pc, name) 0
-
 #endif /* TM_ARMEMBED_H */
Index: config/mips/tm-irix5.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-irix5.h,v
retrieving revision 1.20
diff -p -u -r1.20 tm-irix5.h
--- config/mips/tm-irix5.h	18 Mar 2004 19:59:06 -0000	1.20
+++ config/mips/tm-irix5.h	30 Apr 2004 20:50:35 -0000
@@ -29,10 +29,6 @@
 #define SIGFRAME_REGSAVE_OFF	(SIGFRAME_BASE + 3 * 4)
 #define SIGFRAME_FPREGSAVE_OFF	(SIGFRAME_BASE + 3 * 4 + 32 * 4 + 4)
 
-/* The signal handler trampoline is called _sigtramp.  */
-#undef DEPRECATED_IN_SIGTRAMP
-#define DEPRECATED_IN_SIGTRAMP(pc, name) ((name) && DEPRECATED_STREQ ("_sigtramp", name))
-
 /* Irix 5 saves a full 64 bits for each register.  We skip 2 * 4 to
    get to the saved PC (the register mask and status register are both
    32 bits) and then another 4 to get to the lower 32 bits.  We skip
Index: config/mips/tm-irix6.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-irix6.h,v
retrieving revision 1.24
diff -p -u -r1.24 tm-irix6.h
--- config/mips/tm-irix6.h	18 Mar 2004 19:59:06 -0000	1.24
+++ config/mips/tm-irix6.h	30 Apr 2004 20:50:35 -0000
@@ -22,10 +22,6 @@
 #include "mips/tm-mips.h"
 #include "solib.h"
 
-/* The signal handler trampoline is called _sigtramp.  */
-#undef DEPRECATED_IN_SIGTRAMP
-#define DEPRECATED_IN_SIGTRAMP(pc, name) ((name) && DEPRECATED_STREQ ("_sigtramp", name))
-
 /* Offsets for register values in _sigtramp frame.
    sigcontext is immediately above the _sigtramp frame on Irix.  */
 #undef SIGFRAME_BASE
Index: config/mips/tm-linux.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-linux.h,v
retrieving revision 1.9
diff -p -u -r1.9 tm-linux.h
--- config/mips/tm-linux.h	18 Mar 2004 19:59:06 -0000	1.9
+++ config/mips/tm-linux.h	30 Apr 2004 20:50:35 -0000
@@ -44,11 +44,6 @@
 #define SOFTWARE_SINGLE_STEP_P() 1
 #define SOFTWARE_SINGLE_STEP(sig,bp_p) mips_software_single_step (sig, bp_p)
 
-/* FIXME: This still needs to be implemented.  */
-
-#undef  DEPRECATED_IN_SIGTRAMP
-#define DEPRECATED_IN_SIGTRAMP(pc, name)	(0)
-
 #undef IN_SOLIB_DYNSYM_RESOLVE_CODE
 #define IN_SOLIB_DYNSYM_RESOLVE_CODE(PC) mips_linux_in_dynsym_resolve_code (PC)
 int mips_linux_in_dynsym_resolve_code (CORE_ADDR pc);
Index: config/mips/tm-nbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-nbsd.h,v
retrieving revision 1.4
diff -p -u -r1.4 tm-nbsd.h
--- config/mips/tm-nbsd.h	18 Mar 2004 19:59:06 -0000	1.4
+++ config/mips/tm-nbsd.h	30 Apr 2004 20:50:35 -0000
@@ -31,7 +31,4 @@
 #undef SKIP_TRAMPOLINE_CODE
 #undef IGNORE_HELPER_CALL
 
-/* XXX undef a bunch of stuff we want to use multi-arch */
-#undef DEPRECATED_IN_SIGTRAMP
-
 #endif /* TM_NBSD_H */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]