2004-03-18 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Thu, 18 Mar 2004 19:59:07 +0000 (19:59 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 18 Mar 2004 19:59:07 +0000 (19:59 +0000)
* config/mips/tm-nbsd.h: Replace IN_SIGTRAMP with
DEPRECATED_IN_SIGTRAMP.
* config/powerpc/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
* config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP) Ditto.
* config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Ditto.
* config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Ditto.
* config/ia64/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
* config/ia64/tm-aix.h (DEPRECATED_IN_SIGTRAMP): Ditto.
* config/arm/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
* config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Ditto.
* arch-utils.c (legacy_pc_in_sigtramp): Ditto.
* arch-utils.h: Remove reference to IN_SIGTRAMP in comment.

12 files changed:
gdb/ChangeLog
gdb/arch-utils.c
gdb/arch-utils.h
gdb/config/arm/tm-embed.h
gdb/config/arm/tm-linux.h
gdb/config/ia64/tm-aix.h
gdb/config/ia64/tm-linux.h
gdb/config/mips/tm-irix5.h
gdb/config/mips/tm-irix6.h
gdb/config/mips/tm-linux.h
gdb/config/mips/tm-nbsd.h
gdb/config/powerpc/tm-linux.h

index a65f4f08126bf47488df51ef96edef9166a45f89..8fd841b8d7243ff53518cd0aec296a9cb991e2cf 100644 (file)
@@ -1,3 +1,18 @@
+2004-03-18  Andrew Cagney  <cagney@redhat.com>
+
+       * config/mips/tm-nbsd.h: Replace IN_SIGTRAMP with
+       DEPRECATED_IN_SIGTRAMP.
+       * config/powerpc/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
+       * config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP) Ditto.
+       * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Ditto.
+       * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Ditto.
+       * config/ia64/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
+       * config/ia64/tm-aix.h (DEPRECATED_IN_SIGTRAMP): Ditto.
+       * config/arm/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
+       * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Ditto.
+       * arch-utils.c (legacy_pc_in_sigtramp): Ditto.
+       * arch-utils.h: Remove reference to IN_SIGTRAMP in comment.
+
 2004-03-18  Andrew Cagney  <cagney@redhat.com>
 
        * frame-base.c: Update copyright.  Include "gdb_obstack.h".
index 94ba59be853ab668faadd4af1251a8765f69d311..1e4ce1d6ba745317d961861de9e3fddd1afde709 100644 (file)
@@ -298,13 +298,13 @@ generic_register_byte (int regnum)
 int
 legacy_pc_in_sigtramp (CORE_ADDR pc, char *name)
 {
-#if !defined (IN_SIGTRAMP)
+#if !defined (DEPRECATED_IN_SIGTRAMP)
   if (SIGTRAMP_START_P ())
     return (pc) >= SIGTRAMP_START (pc) && (pc) < SIGTRAMP_END (pc);
   else
     return name && strcmp ("_sigtramp", name) == 0;
 #else
-  return IN_SIGTRAMP (pc, name);
+  return DEPRECATED_IN_SIGTRAMP (pc, name);
 #endif
 }
 
index 0f7a23d517bbedece378e8d307ac015385efb767..8f2e6012f67e305637b968e9886a8d72818207b2 100644 (file)
@@ -114,7 +114,7 @@ extern int generic_register_size (int regnum);
 /* Assume that the world is sane, the registers are all adjacent.  */
 extern int generic_register_byte (int regnum);
 
-/* Prop up old targets that use various IN_SIGTRAMP() macros.  */
+/* Prop up old targets that use various sigtramp macros.  */
 extern int legacy_pc_in_sigtramp (CORE_ADDR pc, char *name);
 
 /* The orginal register_convert*() functions were overloaded.  They
index 5990311e4a605be7ebfc8f90708f5a8adc4d4093..7ad6b688e0bfb55a4192c1de5947e6f0d979d5ac 100644 (file)
@@ -46,7 +46,7 @@
 extern int arm_in_call_stub (CORE_ADDR pc, char *name);
 extern CORE_ADDR arm_skip_stub (CORE_ADDR pc);
 
-#undef  IN_SIGTRAMP
-#define IN_SIGTRAMP(pc, name) 0
+#undef  DEPRECATED_IN_SIGTRAMP
+#define DEPRECATED_IN_SIGTRAMP(pc, name) 0
 
 #endif /* TM_ARMEMBED_H */
index 306f837c3b89a845673b45a52205128219087183..9ae6e9f8e998fe6cdfda200f0831da1005ea7899 100644 (file)
@@ -57,7 +57,7 @@ extern CORE_ADDR in_svr4_dynsym_resolve_code (CORE_ADDR pc, char *name);
    through calls to signal handlers. */
 
 int arm_linux_in_sigtramp (CORE_ADDR pc, char *name);
-#define IN_SIGTRAMP(pc, name) arm_linux_in_sigtramp (pc, name)
+#define DEPRECATED_IN_SIGTRAMP(pc, name) arm_linux_in_sigtramp (pc, name)
 
 /* Each OS has different mechanisms for accessing the various
    registers stored in the sigcontext structure.  These definitions
index b59d6dd11cdd71bf04e3edc20b93f1036d42e072..186cd93ae75adbaa4c8f800091a326e40e7d886b 100644 (file)
@@ -27,6 +27,6 @@
 #define TARGET_ELF64
 
 extern int ia64_aix_in_sigtramp (CORE_ADDR pc, char *func_name);
-#define IN_SIGTRAMP(pc,func_name) ia64_aix_in_sigtramp (pc, func_name)
+#define DEPRECATED_IN_SIGTRAMP(pc,func_name) ia64_aix_in_sigtramp (pc, func_name)
 
 #endif /* #ifndef TM_AIX_H */
index 6051752546744ab485069cb6c3c2001f2ed0c9d5..4aa6d8598c3a60eeff27dfa5f7b6cccaf749d35d 100644 (file)
@@ -29,6 +29,6 @@
 #define TARGET_ELF64
 
 extern int ia64_linux_in_sigtramp (CORE_ADDR pc, char *func_name);
-#define IN_SIGTRAMP(pc,func_name) ia64_linux_in_sigtramp (pc, func_name)
+#define DEPRECATED_IN_SIGTRAMP(pc,func_name) ia64_linux_in_sigtramp (pc, func_name)
 
 #endif /* #ifndef TM_LINUX_H */
index fdc17567af534676d787f6cf88afe268bae20d5d..ff40d66e735882457b3a7f12c47396e3443da616 100644 (file)
@@ -30,8 +30,8 @@
 #define SIGFRAME_FPREGSAVE_OFF (SIGFRAME_BASE + 3 * 4 + 32 * 4 + 4)
 
 /* The signal handler trampoline is called _sigtramp.  */
-#undef IN_SIGTRAMP
-#define IN_SIGTRAMP(pc, name) ((name) && DEPRECATED_STREQ ("_sigtramp", name))
+#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
index 272cafeac0777ae8892b7f4a828e38d088ca3135..88abf806c4d83d9788bfab5f810181f9f29600a6 100644 (file)
@@ -23,8 +23,8 @@
 #include "solib.h"
 
 /* The signal handler trampoline is called _sigtramp.  */
-#undef IN_SIGTRAMP
-#define IN_SIGTRAMP(pc, name) ((name) && DEPRECATED_STREQ ("_sigtramp", name))
+#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.  */
index fc3270779d77060a2e37863261695b56391c2a05..4227cd3e426499eba5302dc894170a8b587ed8ac 100644 (file)
@@ -46,8 +46,8 @@
 
 /* FIXME: This still needs to be implemented.  */
 
-#undef  IN_SIGTRAMP
-#define IN_SIGTRAMP(pc, name)  (0)
+#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)
index fb30761111c0d5a9043b97ed6f4674cdacf6de23..eb8e292e2dc0d42362dd28c34f98f6af25e1d32e 100644 (file)
@@ -32,6 +32,6 @@
 #undef IGNORE_HELPER_CALL
 
 /* XXX undef a bunch of stuff we want to use multi-arch */
-#undef IN_SIGTRAMP
+#undef DEPRECATED_IN_SIGTRAMP
 
 #endif /* TM_NBSD_H */
index 364e1f96280f5f8fab0f04749b6cc62f5de8570f..e34363194ff004c6dcb4b0f967bb4cf36e4a4a47 100644 (file)
@@ -35,8 +35,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
    without symbols */
 
 extern int ppc_linux_in_sigtramp (CORE_ADDR pc, char *func_name);
-#undef IN_SIGTRAMP
-#define IN_SIGTRAMP(pc,func_name) ppc_linux_in_sigtramp (pc,func_name)
+#undef DEPRECATED_IN_SIGTRAMP
+#define DEPRECATED_IN_SIGTRAMP(pc,func_name) ppc_linux_in_sigtramp (pc,func_name)
 
 #if 0
 #define CANNOT_FETCH_REGISTER(regno) ((regno) >= MQ_REGNUM)
This page took 0.034092 seconds and 4 git commands to generate.