OSDN Git Service

* Makefile.in (mips_linux_tdep_h): New.
authorDaniel Jacobowitz <dan@debian.org>
Wed, 15 Mar 2006 17:13:36 +0000 (17:13 +0000)
committerDaniel Jacobowitz <dan@debian.org>
Wed, 15 Mar 2006 17:13:36 +0000 (17:13 +0000)
commit88987aee9ebf19d84f13363f0aa11bd777b38465
tree3fb86eaa6b514302a4b241b7ed64093bca79b8c1
parentf5a94e634091eb57676971fc472613ab8d3dcf2e
* Makefile.in (mips_linux_tdep_h): New.
(mpis-linux-nat.o, mips-linux-tdep.o): Update.
* mips-linux-nat.c: Include "inferior.h", "mips-linux-tdep.h", and
<sys/ptrace.h>.
(have_ptrace_regsets, super_fetch_registers, super_store_registers)
(mips64_linux_regsets_fetch_registers)
(mips64_linux_regsets_store_registers, mips64_linux_fetch_registers)
(mips64_linux_store_registers): New.
(_initialize_mips_linux_nat): Override to_fetch_registers and
to_store_registers.
* mips-linux-tdep.h: New file.
* mips-linux-tdep.c: Include "mips-linux-tdep.c".
(ELF_NGREG, ELF_NFPREG, elf_greg_t, elf_gregset_t, elf_fpreg_t)
(elf_fpregset_t, FPR_BASE, PC, CAUSE, BADVADDR, MMHI, MMLO)
(FPC_CSR, FPC_EIR, EF_REG0, EF_REG31, EF_LO, EF_HI, EF_CP0_EPC)
(EF_CP0_BADVADDR, EF_CP0_STATUS, EF_CP0_CAUSE, EF_SIZE)
(MIPS64_ELF_NGREG, MIPS64_ELF_NFPREG, mips64_elf_greg_t)
(mips64_elf_gregset_t, mips64_elf_fpreg_t, mips64_elf_fpregset_t)
(MIPS64_FPR_BASE, MIPS64_PC, MIPS64_CAUSE, MIPS64_BADVADDR)
(MIPS64_MMHI, MIPS64_MMLO, MIPS64_FPC_CSR, MIPS64_FPC_EIR)
(MIPS64_EF_REG0, MIPS64_EF_REG31, MIPS64_EF_LO, MIPS64_EF_HI)
(MIPS64_EF_CP0_EPC, MIPS64_EF_CP0_BADVADDR, MIPS64_EF_CP0_STATUS)
(MIPS64_EF_CP0_CAUSE, MIPS64_EF_SIZE): Delete.
(supply_32bit_reg): Use gdb_byte.
(supply_64bit_reg): New.
(mips_supply_gregset, mips_fill_gregset, mips_supply_fpregset)
(mips_fill_fpregset, fetch_core_registers, supply_gregset)
(fill_gregset, supply_fpregset): Update for renamed types.
(mips64_supply_gregset): Use gdb_byte and supply_64bit_reg.
(mips64_fill_gregset): Make global.  Handle 32-bit register
sizes.
(mips64_fill_fpregset): Make global.  Use gdb_byte.  Handle
FP regsets properly.
gdb/ChangeLog
gdb/Makefile.in
gdb/mips-linux-nat.c
gdb/mips-linux-tdep.c
gdb/mips-linux-tdep.h [new file with mode: 0644]