* target-descriptions.c (tdesc_predefined_types): New.
authorDaniel Jacobowitz <drow@false.org>
Mon, 15 Oct 2007 19:19:18 +0000 (19:19 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 15 Oct 2007 19:19:18 +0000 (19:19 +0000)
commit81adfcedc899da6e7641d2c2d6aad68f60d97735
treee1137ec77293084d14043866ea01c9ad0badf798
parentd5d7db8e2faa95d6265cadc66bb0788ee922d9b1
* target-descriptions.c (tdesc_predefined_types): New.
(tdesc_named_type): Use it.
(tdesc_type_id, maint_print_c_tdesc_cmd): New functions.
(_intialize_target_descriptions): Register "maint print c-tdesc".
* features/Makefile (XMLTOC, CFILES, GDB): New macros.
(cfiles, %.c): New rules.
* features/arm-with-iwmmxt.c, features/mips-linux.c,
features/mips64-linux.c: New generated files.

* arm-linux-nat.c: Include preparsed description instead of
"xml-support.h".
(super_xfer_partial, arm_linux_xfer_partial): Remove.
(arm_linux_read_description): New function.
(_initialize_arm_linux_nat): Set to_read_description instead of
to_xfer_partial.  Initialize preparsed description.
* config/arm/linux.mh (TDEP_XML): Delete.
* mips-linux-nat.c: Include preparsed descriptions instead of
"xml-support.h".
(super_xfer_partial, mips_linux_xfer_partial): Remove.
(mips_linux_read_description): New function.
(_initialize_mips_linux_nat): Set to_read_description instead of
to_xfer_partial.  Initialize preparsed description.
* config/mips/linux.mh (TDEP_XML): Delete.
* Makefile.in (XMLFILES): Remove $(TDEP_XML).
(features_headers, arm_with_iwmmxt_c, mips_linux_c)
(mips64_linux_c): New macros.
(arm-linux-nat.o, mips-linux-nat.o): Update.

* gdb.texinfo (Maintenance Commands): Document "maint print c-tdesc".
13 files changed:
gdb/ChangeLog
gdb/Makefile.in
gdb/arm-linux-nat.c
gdb/config/arm/linux.mh
gdb/config/mips/linux.mh
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/features/Makefile
gdb/features/arm-with-iwmmxt.c [new file with mode: 0644]
gdb/features/mips-linux.c [new file with mode: 0644]
gdb/features/mips64-linux.c [new file with mode: 0644]
gdb/mips-linux-nat.c
gdb/target-descriptions.c