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.
This commit is contained in:
parent
0cad6aec70
commit
dbfe462616
12 changed files with 32 additions and 17 deletions
|
@ -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>
|
2004-03-18 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
* frame-base.c: Update copyright. Include "gdb_obstack.h".
|
* frame-base.c: Update copyright. Include "gdb_obstack.h".
|
||||||
|
|
|
@ -298,13 +298,13 @@ generic_register_byte (int regnum)
|
||||||
int
|
int
|
||||||
legacy_pc_in_sigtramp (CORE_ADDR pc, char *name)
|
legacy_pc_in_sigtramp (CORE_ADDR pc, char *name)
|
||||||
{
|
{
|
||||||
#if !defined (IN_SIGTRAMP)
|
#if !defined (DEPRECATED_IN_SIGTRAMP)
|
||||||
if (SIGTRAMP_START_P ())
|
if (SIGTRAMP_START_P ())
|
||||||
return (pc) >= SIGTRAMP_START (pc) && (pc) < SIGTRAMP_END (pc);
|
return (pc) >= SIGTRAMP_START (pc) && (pc) < SIGTRAMP_END (pc);
|
||||||
else
|
else
|
||||||
return name && strcmp ("_sigtramp", name) == 0;
|
return name && strcmp ("_sigtramp", name) == 0;
|
||||||
#else
|
#else
|
||||||
return IN_SIGTRAMP (pc, name);
|
return DEPRECATED_IN_SIGTRAMP (pc, name);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -114,7 +114,7 @@ extern int generic_register_size (int regnum);
|
||||||
/* Assume that the world is sane, the registers are all adjacent. */
|
/* Assume that the world is sane, the registers are all adjacent. */
|
||||||
extern int generic_register_byte (int regnum);
|
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);
|
extern int legacy_pc_in_sigtramp (CORE_ADDR pc, char *name);
|
||||||
|
|
||||||
/* The orginal register_convert*() functions were overloaded. They
|
/* The orginal register_convert*() functions were overloaded. They
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
extern int arm_in_call_stub (CORE_ADDR pc, char *name);
|
extern int arm_in_call_stub (CORE_ADDR pc, char *name);
|
||||||
extern CORE_ADDR arm_skip_stub (CORE_ADDR pc);
|
extern CORE_ADDR arm_skip_stub (CORE_ADDR pc);
|
||||||
|
|
||||||
#undef IN_SIGTRAMP
|
#undef DEPRECATED_IN_SIGTRAMP
|
||||||
#define IN_SIGTRAMP(pc, name) 0
|
#define DEPRECATED_IN_SIGTRAMP(pc, name) 0
|
||||||
|
|
||||||
#endif /* TM_ARMEMBED_H */
|
#endif /* TM_ARMEMBED_H */
|
||||||
|
|
|
@ -57,7 +57,7 @@ extern CORE_ADDR in_svr4_dynsym_resolve_code (CORE_ADDR pc, char *name);
|
||||||
through calls to signal handlers. */
|
through calls to signal handlers. */
|
||||||
|
|
||||||
int arm_linux_in_sigtramp (CORE_ADDR pc, char *name);
|
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
|
/* Each OS has different mechanisms for accessing the various
|
||||||
registers stored in the sigcontext structure. These definitions
|
registers stored in the sigcontext structure. These definitions
|
||||||
|
|
|
@ -27,6 +27,6 @@
|
||||||
#define TARGET_ELF64
|
#define TARGET_ELF64
|
||||||
|
|
||||||
extern int ia64_aix_in_sigtramp (CORE_ADDR pc, char *func_name);
|
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 */
|
#endif /* #ifndef TM_AIX_H */
|
||||||
|
|
|
@ -29,6 +29,6 @@
|
||||||
#define TARGET_ELF64
|
#define TARGET_ELF64
|
||||||
|
|
||||||
extern int ia64_linux_in_sigtramp (CORE_ADDR pc, char *func_name);
|
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 */
|
#endif /* #ifndef TM_LINUX_H */
|
||||||
|
|
|
@ -30,8 +30,8 @@
|
||||||
#define SIGFRAME_FPREGSAVE_OFF (SIGFRAME_BASE + 3 * 4 + 32 * 4 + 4)
|
#define SIGFRAME_FPREGSAVE_OFF (SIGFRAME_BASE + 3 * 4 + 32 * 4 + 4)
|
||||||
|
|
||||||
/* The signal handler trampoline is called _sigtramp. */
|
/* The signal handler trampoline is called _sigtramp. */
|
||||||
#undef IN_SIGTRAMP
|
#undef DEPRECATED_IN_SIGTRAMP
|
||||||
#define IN_SIGTRAMP(pc, name) ((name) && DEPRECATED_STREQ ("_sigtramp", name))
|
#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
|
/* 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
|
get to the saved PC (the register mask and status register are both
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
#include "solib.h"
|
#include "solib.h"
|
||||||
|
|
||||||
/* The signal handler trampoline is called _sigtramp. */
|
/* The signal handler trampoline is called _sigtramp. */
|
||||||
#undef IN_SIGTRAMP
|
#undef DEPRECATED_IN_SIGTRAMP
|
||||||
#define IN_SIGTRAMP(pc, name) ((name) && DEPRECATED_STREQ ("_sigtramp", name))
|
#define DEPRECATED_IN_SIGTRAMP(pc, name) ((name) && DEPRECATED_STREQ ("_sigtramp", name))
|
||||||
|
|
||||||
/* Offsets for register values in _sigtramp frame.
|
/* Offsets for register values in _sigtramp frame.
|
||||||
sigcontext is immediately above the _sigtramp frame on Irix. */
|
sigcontext is immediately above the _sigtramp frame on Irix. */
|
||||||
|
|
|
@ -46,8 +46,8 @@
|
||||||
|
|
||||||
/* FIXME: This still needs to be implemented. */
|
/* FIXME: This still needs to be implemented. */
|
||||||
|
|
||||||
#undef IN_SIGTRAMP
|
#undef DEPRECATED_IN_SIGTRAMP
|
||||||
#define IN_SIGTRAMP(pc, name) (0)
|
#define DEPRECATED_IN_SIGTRAMP(pc, name) (0)
|
||||||
|
|
||||||
#undef IN_SOLIB_DYNSYM_RESOLVE_CODE
|
#undef IN_SOLIB_DYNSYM_RESOLVE_CODE
|
||||||
#define IN_SOLIB_DYNSYM_RESOLVE_CODE(PC) mips_linux_in_dynsym_resolve_code (PC)
|
#define IN_SOLIB_DYNSYM_RESOLVE_CODE(PC) mips_linux_in_dynsym_resolve_code (PC)
|
||||||
|
|
|
@ -32,6 +32,6 @@
|
||||||
#undef IGNORE_HELPER_CALL
|
#undef IGNORE_HELPER_CALL
|
||||||
|
|
||||||
/* XXX undef a bunch of stuff we want to use multi-arch */
|
/* XXX undef a bunch of stuff we want to use multi-arch */
|
||||||
#undef IN_SIGTRAMP
|
#undef DEPRECATED_IN_SIGTRAMP
|
||||||
|
|
||||||
#endif /* TM_NBSD_H */
|
#endif /* TM_NBSD_H */
|
||||||
|
|
|
@ -35,8 +35,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||||
without symbols */
|
without symbols */
|
||||||
|
|
||||||
extern int ppc_linux_in_sigtramp (CORE_ADDR pc, char *func_name);
|
extern int ppc_linux_in_sigtramp (CORE_ADDR pc, char *func_name);
|
||||||
#undef IN_SIGTRAMP
|
#undef DEPRECATED_IN_SIGTRAMP
|
||||||
#define IN_SIGTRAMP(pc,func_name) ppc_linux_in_sigtramp (pc,func_name)
|
#define DEPRECATED_IN_SIGTRAMP(pc,func_name) ppc_linux_in_sigtramp (pc,func_name)
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
#define CANNOT_FETCH_REGISTER(regno) ((regno) >= MQ_REGNUM)
|
#define CANNOT_FETCH_REGISTER(regno) ((regno) >= MQ_REGNUM)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue