binutils-gdb/gdb/config/mips
Andrew Cagney a4b8ebc89d 2003-06-21 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c: Include "reggroups.h" and "sim-regno.h".
	(mips_register_name): Return names for NUM_REGS..2*NUM_REGS
	instead of 0..NUM_REGS.
	(mips_register_reggroup_p): New function.
	(mips_pseudo_register_write): New function.
	(mips_pseudo_register_read): New function.
	(mips_register_raw_size): For NUM_REGS..2*NUM_REGS return the size
	based on the register's type.
	(read_next_frame_reg): Simplify.  Assert that REGNO is a pseudo /
	cooked.
	(mips_get_saved_register): Simplify.  Assert that REGNO is a
	pseudo / cooked.
	(mips_register_byte): New function.  Use MIPS_REGISTER_BYTE.
	(mips_register_type): Replace mips_register_virtual_type.  Map
	NUM_REGS..2*NUM_REGS onto 0..NUM_REGS.  Use MIPS_REGISTER_TYPE
	when available.
	(read_next_frame_reg): Simplify, but handle SP_REGNUM.  Assert
	that the register is cooked / virtual.
	(mips_frame_saved_pc): Fetch the cooked PC, and not the raw PC.
	Only get the extra info when needed.
	(set_reg_offset): Save the offset in NUM_REGS..2*NUM_REGS as well.
	(mips32_heuristic_proc_desc): Fetch the cooked register.
	(heuristic_proc_desc, mips_pop_frame, get_frame_pointer): Ditto.
	(mips_init_extra_frame_info, get_frame_pointer): Ditto.
	(mips_print_register): Use gdbarch_register_type, instead of
	REGISTER_VIRTUAL_TYPE.
	(print_gp_register_row): Use gdbarch_register_type, instead of
	REGISTER_VIRTUAL_TYPE.  Allow for a pseudo / cooked REGNUM.
	(mips_print_registers_info): Assert REGNO is pseodo / cooked.
	Print the pseudo / cooked registers.
	(mips_print_registers_info): Assert REGNO is pseodo / cooked.
	Print the pseudo / cooked registers.
	(mips_xfer_register): Use regcache_cooked_read_part.  Assert that
	REG_NUM is pseudo / cooked.
	(mips_o32_xfer_return_value): Xfer the pseudo / cooked register.
	(mips_n32n64_xfer_return_value): Ditto.
	(mips_stab_reg_to_regnum): Map onto NUM_REGS..2*NUM_REGS.
	(mips_dwarf_dwarf2_ecoff_reg_to_regnum): Ditto.
	(mips_register_sim_regno): New function.
	(mips_gdbarch_init): Set deprecated_register_byte,
	register_group_p, pseudo_register_write, pseudo_register_read,
	register_sim_regno, and num_pseudo_regs.  Set register_type,
	instead of register_virtual_type.
	* Makefile.in (mips-tdep.o): Update dependencies.
	* config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Rename
	REGISTER_VIRTUAL_TYPE.
	* config/mips/tm-mips.h	(MIPS_REGISTER_TYPE): Ditto.
	* config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Ditto.
	* config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Rename REGISTER_BYTE.
	* config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Ditto.
	* config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Ditto.
2003-06-21 23:14:44 +00:00
..
decstation.mh
embed.mt 2003-06-14 Andrew Cagney <cagney@redhat.com> 2003-06-14 23:43:15 +00:00
embed64.mt 2003-06-14 Andrew Cagney <cagney@redhat.com> 2003-06-14 23:43:15 +00:00
embedl.mt 2003-06-14 Andrew Cagney <cagney@redhat.com> 2003-06-14 23:43:15 +00:00
embedl64.mt 2003-06-14 Andrew Cagney <cagney@redhat.com> 2003-06-14 23:43:15 +00:00
irix3.mh
irix3.mt
irix4.mh
irix5.mh
irix5.mt
irix6.mh
irix6.mt
linux.mh * Makefile.in (linux-nat.o): Add rule. 2003-06-15 20:56:48 +00:00
linux.mt * config/arm/linux.mt: Remove code protected by GDBSERVER define. 2003-06-20 13:57:30 +00:00
linux64.mt
littlemips.mh
mips.mt 2003-06-01 Andrew Cagney <cagney@redhat.com> 2003-06-01 14:45:28 +00:00
mips64.mt 2003-06-01 Andrew Cagney <cagney@redhat.com> 2003-06-01 14:45:28 +00:00
mipsm3.mh
mipsm3.mt
mipsv4.mh
mipsv4.mt
nbsd.mh
nbsd.mt
news-mips.mh
nm-irix3.h
nm-irix4.h
nm-irix5.h
nm-irix6.h
nm-linux.h
nm-mips.h
nm-nbsd.h
nm-news-mips.h
nm-riscos.h
riscos.mh
tm-embed.h 2003-06-01 Andrew Cagney <cagney@redhat.com> 2003-06-01 14:45:28 +00:00
tm-irix3.h 2003-06-01 Andrew Cagney <cagney@redhat.com> 2003-06-01 14:45:28 +00:00
tm-irix5.h 2003-06-21 Andrew Cagney <cagney@redhat.com> 2003-06-21 23:14:44 +00:00
tm-irix6.h 2003-06-21 Andrew Cagney <cagney@redhat.com> 2003-06-21 23:14:44 +00:00
tm-linux.h
tm-linux64.h
tm-mips.h 2003-06-21 Andrew Cagney <cagney@redhat.com> 2003-06-21 23:14:44 +00:00
tm-mips64.h 2003-06-21 Andrew Cagney <cagney@redhat.com> 2003-06-21 23:14:44 +00:00
tm-mipsm3.h
tm-mipsv4.h 2003-06-01 Andrew Cagney <cagney@redhat.com> 2003-06-01 14:45:28 +00:00
tm-nbsd.h
tm-tx39.h 2003-06-01 Andrew Cagney <cagney@redhat.com> 2003-06-01 14:45:28 +00:00
tm-vxmips.h
tm-wince.h
tx39.mt
tx39l.mt 2003-06-01 Andrew Cagney <cagney@redhat.com> 2003-06-01 14:45:28 +00:00
vxmips.mt
wince.mt
xm-irix3.h
xm-irix4.h
xm-irix5.h
xm-irix6.h
xm-linux.h
xm-mips.h
xm-mipsm3.h
xm-mipsv4.h
xm-riscos.h