* infcmd.c (registers_info): Remove register number case.
authorAleksandar Ristovski <aristovski@qnx.com>
Wed, 4 Mar 2009 17:58:34 +0000 (17:58 +0000)
committerAleksandar Ristovski <aristovski@qnx.com>
Wed, 4 Mar 2009 17:58:34 +0000 (17:58 +0000)
gdb/ChangeLog
gdb/infcmd.c

index ea0e65f434ab1c8401751e6e6a2f88e929b8c6d9..2bf365da5c2b924a2d7ed5e76f858c95b40f9742 100644 (file)
@@ -1,3 +1,7 @@
+2009-03-04  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * infcmd.c (registers_info): Remove register number case.
+
 2009-03-03  Pedro Alves  <pedro@codesourcery.com>
 
        * top.c (quit_target): Check for target_has_execution before
index 0a17dab06a3bdefa7e0d1ba4935ad2694d171744..37a237a12f6afbb90ebb391d9bf006310230057d 100644 (file)
@@ -1948,21 +1948,6 @@ registers_info (char *addr_exp, int fpregs)
          }
       }
 
-      /* A register number?  (how portable is this one?).  */
-      {
-       char *endptr;
-       int regnum = strtol (start, &endptr, 0);
-       if (endptr == end
-           && regnum >= 0
-           && regnum < gdbarch_num_regs (gdbarch)
-                       + gdbarch_num_pseudo_regs (gdbarch))
-         {
-           gdbarch_print_registers_info (gdbarch, gdb_stdout,
-                                         frame, regnum, fpregs);
-           continue;
-         }
-      }
-
       /* A register group?  */
       {
        struct reggroup *group;