diff options
author | Richard Henderson <rth@redhat.com> | 2003-06-02 20:57:16 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2003-06-02 20:57:16 +0000 |
commit | 5b8593d95b4e5b19fbe35c35ced777c8d7080cf9 (patch) | |
tree | 949b531bf8273ef9e6b5b2e6fdfb11fdbc27860b /gdb/alpha-tdep.h | |
parent | e8b709ea1a4a1e68f2170f2323c03f8c093bffea (diff) | |
download | gdb-5b8593d95b4e5b19fbe35c35ced777c8d7080cf9.tar.gz |
* 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.
Diffstat (limited to 'gdb/alpha-tdep.h')
-rw-r--r-- | gdb/alpha-tdep.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/alpha-tdep.h b/gdb/alpha-tdep.h index 7f1ec5139ef..eaeaa56b2e0 100644 --- a/gdb/alpha-tdep.h +++ b/gdb/alpha-tdep.h @@ -94,4 +94,10 @@ extern CORE_ADDR alpha_after_prologue (CORE_ADDR pc); extern void alpha_mdebug_init_abi (struct gdbarch_info, struct gdbarch *); +extern void alpha_supply_int_regs (int, const void *, const void *, + const void *); +extern void alpha_fill_int_regs (int, void *, void *, void *); +extern void alpha_supply_fp_regs (int, const void *, const void *); +extern void alpha_fill_fp_regs (int, void *, void *); + #endif /* ALPHA_TDEP_H */ |