old-cross-binutils/gdb/testsuite
H.J. Lu 1ba53b71ca Support x86 pseudo byte, word and dword registers.
gdb/

2010-03-02  H.J. Lu  <hongjiu.lu@intel.com>

	* amd64-tdep.c (amd64_byte_names): New.
	(amd64_word_names): Likewise.
	(amd64_dword_names): Likewise.
	(amd64_pseudo_register_name): Likewise.
	(amd64_pseudo_register_read): Likewise.
	(amd64_pseudo_register_write): Likewise.
	(amd64_init_abi): Set num_byte_regs, num_word_regs, num_dword_regs
	and num_mmx_regs.  Call set_gdbarch_pseudo_register_read,
	set_gdbarch_pseudo_register_write and
	set_tdesc_pseudo_register_name.  Don't call
	set_gdbarch_num_pseudo_regs.  Don't set mm0_regnum.

	* i386-tdep.c (i386_num_mmx_regs): Removed.
	(i386_num_pseudo_regs): Likewise.
	(i386_byte_names): New.
	(i386_word_names): Likewise.
	(i386_byte_regnum_p): Likewise.
	(i386_word_regnum_p): Likewise.
	(i386_mmx_regnum_p): Updated.
	(i386_pseudo_register_name): Make it global.  Handle byte and
	word pseudo-registers.
	(i386_pseudo_register_read): Likewise.
	(i386_pseudo_register_write): Likewise.
	(i386_pseudo_register_type): Handle byte, word and dword
	pseudo-registers
	(i386_register_reggroup_p): Don't include pseudo
	registers, except for MXX, in any register groups.  Don't
	include pseudo byte, word, dword registers in general_reggroup.
	(i386_gdbarch_init): Set num_byte_regs, num_word_regs,
	num_dword_regs, al_regnum, ax_regnum and eax_regnum.  Put MMX
	pseudo-registers after word pseudo-registers.  Call
	set_gdbarch_num_pseudo_regs after calling gdbarch_init_osabi.

	* i386-tdep.h (gdbarch_tdep): Add num_mmx_regs, num_byte_regs,
	al_regnum, num_word_regs, ax_regnum, num_dword_regs and
	eax_regnum.
	(i386_byte_regnum_p): New.
	(i386_word_regnum_p): Likewise.
	(i386_dword_regnum_p): Likewise.
	(i386_pseudo_register_name): Likewise.
	(i386_pseudo_register_read): Likewise.
	(i386_pseudo_register_write): Likewise.

gdb/testsuite/

2010-03-02  H.J. Lu  <hongjiu.lu@intel.com>

	* gdb.arch/amd64-byte.exp: New.
	* gdb.arch/amd64-dword.exp: Likewise.
	* gdb.arch/amd64-pseudo.c: Likewise.
	* gdb.arch/amd64-word.exp: Likewise.
	* gdb.arch/i386-byte.exp: Likewise.
	* gdb.arch/i386-pseudo.c: Likewise.
	* gdb.arch/i386-word.exp: Likewise.
2010-03-02 13:14:36 +00:00
..
config Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb.ada * gdb.ada/ptype_tagged_param: New testcase. 2010-02-09 13:16:33 +00:00
gdb.arch Support x86 pseudo byte, word and dword registers. 2010-03-02 13:14:36 +00:00
gdb.asm Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb.base gdb/ 2010-02-28 17:56:37 +00:00
gdb.cell Sync Libtool from GCC. 2010-01-09 21:11:44 +00:00
gdb.cp gdb 2010-02-19 20:22:03 +00:00
gdb.disasm Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb.dwarf2 gdb/testsuite/ 2010-02-19 19:14:18 +00:00
gdb.fortran Update the copyright header of most if not all files that have not been 2010-01-01 09:44:07 +00:00
gdb.gdb Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb.hp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb.java gdb 2010-02-17 22:25:05 +00:00
gdb.mi Multiexec MI 2010-02-24 07:51:46 +00:00
gdb.modula2 Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb.multi Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb.objc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb.opt Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb.pascal Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb.python 2010-02-28 Phil Muldoon <pmuldoon@redhat.com> 2010-02-28 21:56:50 +00:00
gdb.reverse Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb.server * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename 2010-01-12 00:50:26 +00:00
gdb.stabs gdb/ 2010-01-08 08:55:16 +00:00
gdb.threads gdb/ 2010-02-01 20:19:06 +00:00
gdb.trace Add trace file support. 2010-01-15 22:37:20 +00:00
gdb.xml * gdbtypes.c (append_composite_type_field_raw): New. 2010-03-01 17:19:23 +00:00
lib 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 11:11:17 +00:00
.gdbinit
aclocal.m4 gdb 2009-06-29 16:41:45 +00:00
ChangeLog Support x86 pseudo byte, word and dword registers. 2010-03-02 13:14:36 +00:00
configure testsuite/ 2010-02-19 17:13:21 +00:00
configure.ac testsuite/ 2010-02-19 17:13:21 +00:00
dg-extract-results.sh gdb 2009-06-29 16:41:45 +00:00
Makefile.in Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
TODO