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 target's SIGCONTEXT_ADDR()


Puts this Alpha target-specifc expression into gdbarch_tdep.  Committed
per multi-arch rule.

        * alpha-tdep.h (gdbarch_tdep): Add sigcontext_addr member. 
        * alpha-tdep.c (alpha_sigcontext_addr): New function.
        (alpha_find_saved_regs): Use alpha_sigcontext_addr. 
        (alpha_gdbarch_init): Initialize tdep->sigcontext_addr. 
        * alpha-linux-tdep.c: Include frame.h.
        (alpha_linux_sigcontext_addr): New function.
        (alpha_linux_init_abi): Set tdep->sigcontext_addr to
        alpha_linux_sigcontext_addr. 
        * alpha-osf1-tdep.c: Include gdbcore.h.
        (alpha_osf1_sigcontext_addr): New function.
        (alpha_osf1_init_abi): Set tdep->sigcontext_addr to
        alpha_osf1_sigcontext_addr. 
        * config/alpha/tm-alpha.h (SIGCONTEXT_ADDR): Remove.
        * config/alpha/tm-alphalinux.h (SIGCONTEXT_ADDR): 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]