From 8c6b0e0607561669f0290799833e2a80a5978a81 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 1 May 2004 13:14:20 +0000 Subject: 2004-05-01 Andrew Cagney * gdbarch.sh (DEPRECATED_SIGTRAMP_START) (DEPRECATED_SIGTRAMP_END): Delete. * gdbarch.h, gdbarch.c: Re-generate. * arch-utils.c (legacy_pc_in_sigtramp): Simplify. * config/vax/tm-vaxbsd.h: Update copyright. (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete. (DEPRECATED_IN_SIGTRAMP): Define. * config/m68k/tm-nbsd.h: Update copyright. (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete. (DEPRECATED_IN_SIGTRAMP): Define. --- gdb/arch-utils.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'gdb/arch-utils.c') diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index d76a8e4..c0e1912 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -298,14 +298,10 @@ generic_register_byte (int regnum) int legacy_pc_in_sigtramp (CORE_ADDR pc, char *name) { -#if !defined (DEPRECATED_IN_SIGTRAMP) - if (DEPRECATED_SIGTRAMP_START_P ()) - return ((pc) >= DEPRECATED_SIGTRAMP_START (pc) - && (pc) < DEPRECATED_SIGTRAMP_END (pc)); - else - return name && strcmp ("_sigtramp", name) == 0; -#else +#if defined (DEPRECATED_IN_SIGTRAMP) return DEPRECATED_IN_SIGTRAMP (pc, name); +#else + return name && strcmp ("_sigtramp", name) == 0; #endif } -- cgit v1.1