old-cross-binutils/gdb/features
Pedro Alves 08d1664121 2009-07-20 Pedro Alves <pedro@codesourcery.com>
* features/gdb-target.dtd (target): Accept an optional 'osabi'
	element.
	(osabi): Define element.
	* features/mips-linux.xml (target): Add an osabi subelement set to
	GNU/Linux.
	* regformats/regdat.sh (xmlarch, xmlosabi): New variables.  Don't
	write the architecture into $xmltarget.  Store it in $xmlarch.
	Handle the 'osabi' type.  Handle outputting the osabi element of
	the target description.
	* regformats/reg-x86-64-linux.dat (osabi): Set to GNU/Linux.
	* regformats/reg-i386-linux.dat (osabi): Set to GNU/Linux.

	* target-descriptions.h (tdesc_osabi, set_tdesc_osabi): Declare.
	* target-descriptions.c (struct target_desc) <osabi>: New field.
	(tdesc_osabi): New function.
	(set_tdesc_osabi): New function.
	* xml-tdesc.c: Include osabi.h.
	(tdesc_end_osabi): New.
	(target_children): Parse "osabi" elements.
	* arch-utils.c (gdbarch_info_fill): Try to get the osabi from the
	target description if the user didn't override it or it is not
	extractable from the bfd.  If that still fails, fallback to the
	configured in default.
	* osabi.h (osabi_from_tdesc_string): Declare.
	* osabi.c (osabi_from_tdesc_string): New.
	(gdbarch_lookup_osabi): Return GDB_OSABI_UNKNOWN instead of
	GDB_OSABI_DEFAULT.

	* NEWS: Mention that target descriptions can now describe the
	target OS ABI.

2009-07-20  Pedro Alves  <pedro@codesourcery.com>

	* gdb.texinfo (Target Description Format): Mention the new <osabi>
	optional element.
	(subsection OS ABI): New subsection.
2009-07-20 18:51:42 +00:00
..
rs6000 * target-descriptions.h (struct type): Do not declare. 2009-06-23 16:59:47 +00:00
arm-core.xml
arm-fpa.xml
arm-with-iwmmxt.c * target-descriptions.h (struct type): Do not declare. 2009-06-23 16:59:47 +00:00
arm-with-iwmmxt.xml
feature_to_c.sh
gdb-target.dtd 2009-07-20 Pedro Alves <pedro@codesourcery.com> 2009-07-20 18:51:42 +00:00
gdbserver-regs.xsl
library-list.dtd
Makefile
mips-cp0.xml
mips-cpu.xml
mips-fpu.xml
mips-linux.c * target-descriptions.h (struct type): Do not declare. 2009-06-23 16:59:47 +00:00
mips-linux.xml 2009-07-20 Pedro Alves <pedro@codesourcery.com> 2009-07-20 18:51:42 +00:00
mips64-cp0.xml
mips64-cpu.xml
mips64-fpu.xml
mips64-linux.c * target-descriptions.h (struct type): Do not declare. 2009-06-23 16:59:47 +00:00
mips64-linux.xml
number-regs.xsl
osdata.dtd
sort-regs.xsl
xinclude.dtd
xscale-iwmmxt.xml