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 | 512b7dfbfd34ee453533b133fdf04fe3a461ec87 (diff) | |
download | gdb-d9cc5895fd5107150e2dbdab3ea1bb58c190ef24.zip gdb-d9cc5895fd5107150e2dbdab3ea1bb58c190ef24.tar.gz gdb-d9cc5895fd5107150e2dbdab3ea1bb58c190ef24.tar.bz2 |
* 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 b45bb7e..a4e1fe9 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); |