binutils-gdb/gdb/features
H.J. Lu 3a13a53b43 Support i386 without SSE.
gdb/

2010-04-08  H.J. Lu  <hongjiu.lu@intel.com>

	* i386-linux-nat.c (have_ptrace_getfpxregs): Initialize to -1
	if HAVE_PTRACE_GETFPXREGS is defined.
	(i386_linux_read_description): Set have_ptrace_getfpxregs and
	have_ptrace_getregset to 0 if ptrace PTRACE_GETFPXREGS failed.

	* i386-linux-tdep.c: Include "features/i386/i386-mmx-linux.c"
	(i386_linux_core_read_description): Return tdesc_i386_mmx_linux
	if .reg-xfp section doesn't exist.
	(_initialize_i386_linux_tdep): Call initialize_tdesc_i386_mmx_linux.

	* i386-linux-tdep.h (tdesc_i386_mmx_linux): New.

	* i386-tdep.c: Include "features/i386/i386-mmx.c".
	(i386_go32_init_abi): Set tdesc to tdesc_i386_mmx.
	(i386_validate_tdesc_p): Make org.gnu.gdb.i386.sse optional.  Set
	xcr0 to I386_XSTATE_X87_MASK if SSE isn't available.
	(i386_gdbarch_init): Update comments.
	(_initialize_i386_tdep): Call initialize_tdesc_i386_mmx.

	* common/i386-xstate.h (I386_XSTATE_X87_MASK): New.

	* config/djgpp/fnchange.lst: Add i386 MMX XML files.

	* features/Makefile (i386/i386-mmx-expedite): New.
	(i386/i386-mmx-linux-expedite): Likewise.
	($(outdir)/i386/i386-mmx.dat): Likewise.
	($(outdir)/i386/i386-mmx-linux.dat): Likewise.

	* features/i386/i386-mmx-linux.c: New.
	* features/i386/i386-mmx-linux.xml: Likewise.
	* features/i386/i386-mmx.c: Likewise.
	* features/i386/i386-mmx.xml: Likewise.
	* regformats/i386/i386-mmx-linux.dat: Likewise.
	* regformats/i386/i386-mmx.dat: Likewise.

	* features/Makefile (WHICH): Add i386/i386-mmx and
	i386/i386-mmx-linux.

gdb/doc/

2010-04-08  H.J. Lu  <hongjiu.lu@intel.com>

	* gdb.texinfo (i386 Features): Make org.gnu.gdb.i386.avx
	optional.  Make org.gnu.gdb.i386.avx requires
	org.gnu.gdb.i386.avx.

gdb/gdbserver/

2010-04-08  H.J. Lu  <hongjiu.lu@intel.com>

	* Makefile.in (clean): Also remove i386-mmx.c i386-mmx-linux.c.
	(i386-mmx.o): New.
	(i386-mmx.c): Likewise.
	(i386-mmx-linux.o): Likewise.
	(i386-mmx-linux.c): Likewise.

	* configure.srv (srv_i386_regobj): Add i386-mmx.o.
	(srv_i386_linux_regobj): Add i386-mmx-linux.o.
	(srv_i386_xmlfiles): Add i386/i386-mmx.xml.
	(srv_i386_linux_xmlfiles): Add i386/i386-mmx-linux.xml.

	* linux-x86-low.c (init_registers_i386_mmx_linux): New.
	(x86_linux_update_xmltarget): Call init_registers_i386_mmx_linux
	and return if ptrace PTRACE_GETFPXREGS failed in 32bit.
2010-04-08 22:32:38 +00:00
..
i386 Support i386 without SSE. 2010-04-08 22:32:38 +00:00
rs6000 Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
Makefile Support i386 without SSE. 2010-04-08 22:32:38 +00:00
arm-core.xml Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
arm-fpa.xml Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
arm-vfpv2.xml Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
arm-vfpv3.xml Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
arm-with-iwmmxt.c * target-descriptions.h (struct type): Do not declare. 2009-06-23 16:59:47 +00:00
arm-with-iwmmxt.xml Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
arm-with-neon.c * NEWS: Mention ARM VFP support. 2009-07-28 18:26:51 +00:00
arm-with-neon.xml Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
arm-with-vfpv2.c * NEWS: Mention ARM VFP support. 2009-07-28 18:26:51 +00:00
arm-with-vfpv2.xml Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
arm-with-vfpv3.c * NEWS: Mention ARM VFP support. 2009-07-28 18:26:51 +00:00
arm-with-vfpv3.xml Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
feature_to_c.sh Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb-target.dtd * gdbtypes.c (append_composite_type_field_raw): New. 2010-03-01 17:19:23 +00:00
gdbserver-regs.xsl * features/Makefile, features/arm-with-iwmmxt.xml, 2007-02-08 21:39:04 +00:00
library-list.dtd Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
m68k-core.xml 2009-11-17 Nathan Sidwell <nathan@codesourcery.com> 2009-11-17 18:06:47 +00:00
mips-cp0.xml Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mips-cpu.xml Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mips-fpu.xml Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mips-linux.c * target-descriptions.h (struct type): Do not declare. 2009-06-23 16:59:47 +00:00
mips-linux.xml Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mips64-cp0.xml Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mips64-cpu.xml Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mips64-fpu.xml Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mips64-linux.c * target-descriptions.h (struct type): Do not declare. 2009-06-23 16:59:47 +00:00
mips64-linux.xml Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
number-regs.xsl * features/Makefile, features/arm-with-iwmmxt.xml, 2007-02-08 21:39:04 +00:00
osdata.dtd Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
s390-acr.xml * features/Makefile (WHICH): Add s390-linux32, s390-linux64, 2010-01-04 15:03:01 +00:00
s390-core32.xml * features/Makefile (WHICH): Add s390-linux32, s390-linux64, 2010-01-04 15:03:01 +00:00
s390-core64.xml * features/Makefile (WHICH): Add s390-linux32, s390-linux64, 2010-01-04 15:03:01 +00:00
s390-fpr.xml * features/Makefile (WHICH): Add s390-linux32, s390-linux64, 2010-01-04 15:03:01 +00:00
s390-linux32.c * features/Makefile (WHICH): Add s390-linux32, s390-linux64, 2010-01-04 15:03:01 +00:00
s390-linux32.xml * features/Makefile (WHICH): Add s390-linux32, s390-linux64, 2010-01-04 15:03:01 +00:00
s390-linux64.c * features/Makefile (WHICH): Add s390-linux32, s390-linux64, 2010-01-04 15:03:01 +00:00
s390-linux64.xml * features/Makefile (WHICH): Add s390-linux32, s390-linux64, 2010-01-04 15:03:01 +00:00
s390x-core64.xml * features/Makefile (WHICH): Add s390-linux32, s390-linux64, 2010-01-04 15:03:01 +00:00
s390x-linux64.c * features/Makefile (WHICH): Add s390-linux32, s390-linux64, 2010-01-04 15:03:01 +00:00
s390x-linux64.xml * features/Makefile (WHICH): Add s390-linux32, s390-linux64, 2010-01-04 15:03:01 +00:00
sort-regs.xsl * features/Makefile: Generate regformats for mips-linux and 2007-06-13 18:50:38 +00:00
threads.dtd add missing file 2010-01-13 05:20:49 +00:00
xinclude.dtd Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
xscale-iwmmxt.xml Update copyright year in most headers. 2010-01-01 07:32:07 +00:00