aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2010-12-28 13:26:46 +0000
committerYao Qi <yao@codesourcery.com>2010-12-28 13:26:46 +0000
commitf32bf4a4c92412ee5bed6eb3c45cd2733d2465cc (patch)
tree5566c51a287d9e4bea65115b2eb104cedf18ecd3 /gdb/arm-tdep.c
parentf73b1357dfcddcd95be4f0a07e574cc6a324ae46 (diff)
downloadgdb-f32bf4a4c92412ee5bed6eb3c45cd2733d2465cc.zip
gdb-f32bf4a4c92412ee5bed6eb3c45cd2733d2465cc.tar.gz
gdb-f32bf4a4c92412ee5bed6eb3c45cd2733d2465cc.tar.bz2
2010-12-28 Yao Qi <yao@codesourcery.com>
* arm-tdep.c (arm_register_aliases): Remove sp, pc, and fp.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r--gdb/arm-tdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 1f05b7a..5247de8 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -135,7 +135,10 @@ static const char *arm_force_mode_string = "auto";
/* Number of different reg name sets (options). */
static int num_disassembly_options;
-/* The standard register names, and all the valid aliases for them. */
+/* The standard register names, and all the valid aliases for them. Note
+ that `fp', `sp' and `pc' are not added in this alias list, because they
+ have been added as builtin user registers in
+ std-regs.c:_initialize_frame_reg. */
static const struct
{
const char *name;
@@ -176,12 +179,9 @@ static const struct
{ "tr", 9 },
/* Special names. */
{ "ip", 12 },
- { "sp", 13 },
{ "lr", 14 },
- { "pc", 15 },
/* Names used by GCC (not listed in the ARM EABI). */
{ "sl", 10 },
- { "fp", 11 },
/* A special name from the older ATPCS. */
{ "wr", 7 },
};