diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-02-13 15:48:06 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-02-13 15:48:06 +0000 |
commit | d9cc5895fd5107150e2dbdab3ea1bb58c190ef24 (patch) | |
tree | 6522ffc29897ed8e4746dbeba2b4e8ce0eac266b /gdb/xml-tdesc.c | |
parent | add autom4te.cache to .cvsignore (diff) | |
download | binutils-gdb-d9cc5895fd5107150e2dbdab3ea1bb58c190ef24.tar.gz binutils-gdb-d9cc5895fd5107150e2dbdab3ea1bb58c190ef24.tar.bz2 binutils-gdb-d9cc5895fd5107150e2dbdab3ea1bb58c190ef24.zip |
* target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptr
handling from here...
(tdesc_register_type): ...to here.
* xml-tdesc.c (tdesc_start_reg): Allow code_ptr and data_ptr.
* features/arm-core.xml: Use code_ptr and data_ptr.
Diffstat (limited to 'gdb/xml-tdesc.c')
-rw-r--r-- | gdb/xml-tdesc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/xml-tdesc.c b/gdb/xml-tdesc.c index b45bb7ea5f4..a4e1fe9a72e 100644 --- a/gdb/xml-tdesc.c +++ b/gdb/xml-tdesc.c @@ -163,6 +163,8 @@ tdesc_start_reg (struct gdb_xml_parser *parser, if (strcmp (type, "int") != 0 && strcmp (type, "float") != 0 + && strcmp (type, "code_ptr") != 0 + && strcmp (type, "data_ptr") != 0 && tdesc_named_type (data->current_feature, type) == NULL) gdb_xml_error (parser, _("Register \"%s\" has unknown type \"%s\""), name, type); |