OSDN Git Service

* target-descriptions.c (tdesc_predefined_types): New.
authordrow <drow>
Mon, 15 Oct 2007 19:19:16 +0000 (19:19 +0000)
committerdrow <drow>
Mon, 15 Oct 2007 19:19:16 +0000 (19:19 +0000)
commit69ce389ac899b59d06ecaedea538c5b0a487e127
treeb33b8398c5e7b9b276e70e0c316c0a6a0ee238c9
parent1dd6ed40fbf78d9270728f997de0f663227dde68
* 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