old-cross-binutils/gdb/testsuite/gdb.arch
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
..
alpha-step.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
alpha-step.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
altivec-abi.c
altivec-abi.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
altivec-regs.c
altivec-regs.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
amd64-byte.exp Support x86 pseudo byte, word and dword registers. 2010-03-02 13:14:36 +00:00
amd64-disp-step.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
amd64-disp-step.S Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
amd64-dword.exp Support x86 pseudo byte, word and dword registers. 2010-03-02 13:14:36 +00:00
amd64-i386-address.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
amd64-i386-address.S Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
amd64-pseudo.c Support x86 pseudo byte, word and dword registers. 2010-03-02 13:14:36 +00:00
amd64-word.exp Support x86 pseudo byte, word and dword registers. 2010-03-02 13:14:36 +00:00
e500-abi.c
e500-abi.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
e500-prologue.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
e500-prologue.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
e500-regs.c
e500-regs.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb1291.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb1291.s * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright 2010-01-01 09:27:06 +00:00
gdb1431.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb1431.s * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright 2010-01-01 09:27:06 +00:00
gdb1558.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb1558.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
i386-bp_permanent.exp gdb/testsuite/ 2010-01-24 04:29:32 +00:00
i386-byte.exp Support x86 pseudo byte, word and dword registers. 2010-03-02 13:14:36 +00:00
i386-cpuid.h Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
i386-disp-step.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
i386-disp-step.S Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
i386-gnu-cfi-asm.S Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
i386-gnu-cfi.c
i386-gnu-cfi.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
i386-permbkpt.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
i386-permbkpt.S Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
i386-prologue.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
i386-prologue.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
i386-pseudo.c Support x86 pseudo byte, word and dword registers. 2010-03-02 13:14:36 +00:00
i386-signal.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
i386-signal.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
i386-size-overlap.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
i386-size-overlap.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
i386-size.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
i386-size.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
i386-sse.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
i386-sse.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
i386-unwind.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
i386-unwind.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
i386-word.exp Support x86 pseudo byte, word and dword registers. 2010-03-02 13:14:36 +00:00
ia64-breakpoint-shadow.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ia64-breakpoint-shadow.S Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
iwmmxt-regs.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
iwmmxt-regs.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
Makefile.in
pa-nullify.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
pa-nullify.s
pa64-nullify.s
powerpc-aix-prologue.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
powerpc-aix-prologue.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
powerpc-d128-regs.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
powerpc-d128-regs.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
powerpc-prologue.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
powerpc-prologue.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ppc-dfp.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ppc-dfp.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ppc-fp.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ppc-fp.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ppc64-atomic-inst.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ppc64-atomic-inst.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
spu-info.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
spu-info.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
thumb-prologue.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
thumb-prologue.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
thumb2-it.exp gdb/testsuite/ 2010-02-16 21:20:14 +00:00
thumb2-it.S * arm-tdep.c (arm_find_mapping_symbol): New function, from 2010-02-01 16:16:30 +00:00
vsx-regs.c
vsx-regs.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00