OSDN Git Service

2010-12-28 Yao Qi <yao@codesourcery.com>
authorqiyao <qiyao>
Tue, 28 Dec 2010 22:26:45 +0000 (22:26 +0000)
committerqiyao <qiyao>
Tue, 28 Dec 2010 22:26:45 +0000 (22:26 +0000)
* arm-tdep.c (arm_register_aliases): Remove sp, pc, and fp.

gdb/ChangeLog
gdb/arm-tdep.c

index 9de2f46..5beba9a 100644 (file)
@@ -1,3 +1,7 @@
+2010-12-28  Yao Qi  <yao@codesourcery.com>
+
+       * arm-tdep.c (arm_register_aliases): Remove sp, pc, and fp.
+
 2010-12-28  Joel Brobecker  <brobecker@adacore.com>
 
        * inf-child.c (inf_child_acknowledge_created_inferior): Delete.
        (arm_skip_prologue): Adjust post_prologue_pc by
        arm_skip_stack_protector.
 
-2010-12-23  Joel Brobecker  <brobecker@adacore.com>
-
-       * mi/mi-main.c (mi_cmd_remove_inferior): Use _() marker for error
-       message.  Change spelling of "can not" into "cannot".
 
 2010-12-23  Yao Qi  <yao@codesourcery.com>
 
index 1f05b7a..5247de8 100644 (file)
@@ -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 },
 };