aboutsummaryrefslogtreecommitdiff
path: root/gdb/features
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-02-13 15:48:06 +0000
committerDaniel Jacobowitz <drow@false.org>2007-02-13 15:48:06 +0000
commitd9cc5895fd5107150e2dbdab3ea1bb58c190ef24 (patch)
tree6522ffc29897ed8e4746dbeba2b4e8ce0eac266b /gdb/features
parent512b7dfbfd34ee453533b133fdf04fe3a461ec87 (diff)
downloadgdb-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/features')
-rw-r--r--gdb/features/arm-core.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/features/arm-core.xml b/gdb/features/arm-core.xml
index c2718f5..6693ad1 100644
--- a/gdb/features/arm-core.xml
+++ b/gdb/features/arm-core.xml
@@ -20,9 +20,9 @@
<reg name="r10" bitsize="32"/>
<reg name="r11" bitsize="32"/>
<reg name="r12" bitsize="32"/>
- <reg name="sp" bitsize="32"/>
+ <reg name="sp" bitsize="32" type="data_ptr"/>
<reg name="lr" bitsize="32"/>
- <reg name="pc" bitsize="32"/>
+ <reg name="pc" bitsize="32" type="code_ptr"/>
<!-- The CPSR is register 25, rather than register 16, because
the FPA registers historically were placed between the PC