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]

[PATCH] Multi-arch Alpha PC_IN_SIGTRAMP


The FreeBSD/alpha stub just returns 0, but the previous IN_SIGTRAMP
didn't work for FreeBSD, anyway (it got the OSF/1 version, which is
wrong for FreeBSD -- FreeBSD needs a definition like NetBSD's).

Committed per the multi-arch rule.

        * alpha-linux-tdep.c (alpha_linux_pc_in_sigtramp): New function.
        (alpha_linux_init_abi): Set gdbarch_pc_in_sigtramp to 
        alpha_linux_pc_in_sigtramp.
        * alpha-osf1-tdep.c (alpha_osf1_pc_in_sigtramp): New function.
        (alpha_osf1_init_abi): Set gdbarch_pc_in_sigtramp to
        alpha_osf1_pc_in_sigtramp. 
        * alpha-tdep.c (alpha_osf_in_sigtramp): Remove. 
        * alphafbsd-tdep.c (alphafbsd_pc_in_sigtramp): New function.
        (alphafbsd_init_abi): Set gdbarch_pc_in_sigtramp to 
        alphafbsd_pc_in_sigtramp.
        * alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): New function.
        (alphanbsd_init_abi): Set gdbarch_pc_in_sigtramp to
        alphanbsd_pc_in_sigtramp.
        * config/alpha/tm-alpha.h (IN_SIGTRAMP): Remove.
        * config/alpha/tm-alphalinux.h (IN_SIGTRAMP): Remove.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>

Attachment: alpha-patch
Description: Text document


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