OSDN Git Service

* alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs): New.
authorrth <rth>
Mon, 2 Jun 2003 20:57:15 +0000 (20:57 +0000)
committerrth <rth>
Mon, 2 Jun 2003 20:57:15 +0000 (20:57 +0000)
commit2b5da2acae524863fba067c5a1b2895c01bb8e86
tree42718f6b2f9b5038519d435f5e2a39901ea50c7b
parent1575cc7ea9ccdc72328f8ea502ea5236dc2348fa
    * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs): New.
        (alpha_supply_fp_regs, alpha_fill_fp_regs): New.
        * alpha-tdep.h: Declare them.

        * alpha-nat.c (fetch_osf_core_registers): Constify core_reg_mapping.
        Remove zerobuf.  Don't error on UNIQUE.
        (fetch_elf_core_registers): Use alpha_supply_{int,fp}_regs.
        (ALPHA_REGSET_UNIQUE): Provide default.
        (supply_gregset): Use alpha_supply_int_regs.
        (fill_gregset): Use alpha_fill_int_regs.
        (supply_fpregset): Use alpha_supply_fp_regs.
        (fill_fpregset): Use alpha_fill_fp_regs.
        * alphabsd-tdep.c (NUM_GREGS, NUM_FPREGS): Remove.
        (alphabsd_supply_reg): Use alpha_supply_int_regs.
        (alphabsd_fill_reg): Use alpha_fill_int_regs.
        (alphabsd_supply_fpreg): Use alpha_supply_fp_regs.
        (alphabsd_fill_fpreg): Use alpha_fill_fp_regs.
        * config/alpha/nm-linux.h (ALPHA_REGSET_UNIQUE): New.
gdb/ChangeLog
gdb/alpha-nat.c
gdb/alpha-tdep.c
gdb/alpha-tdep.h
gdb/alphabsd-tdep.c
gdb/config/alpha/nm-linux.h