OSDN Git Service

2000-07-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
authorezannoni <ezannoni>
Tue, 25 Jul 2000 20:41:07 +0000 (20:41 +0000)
committerezannoni <ezannoni>
Tue, 25 Jul 2000 20:41:07 +0000 (20:41 +0000)
        * gdbtk-cmds.c (map_arg_registers): Set numregs to include the
        pseudo regs as well.

gdb/gdbtk/generic/ChangeLog
gdb/gdbtk/generic/gdbtk-cmds.c

index 30897b5..8d3a1aa 100644 (file)
@@ -1,3 +1,8 @@
+2000-07-25  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+        * gdbtk-cmds.c (map_arg_registers): Set numregs to include the
+        pseudo regs as well.
+
 2000-07-10  Kevin Buettner  <kevinb@redhat.com>
 
        * gdbtk-cmds.c, gdbtk-hooks.c, gdbtk-variable.c: Eliminate use
index f16e21b..f11f631 100644 (file)
@@ -1758,7 +1758,7 @@ map_arg_registers (objc, objv, func, argp)
      case, some entries of REGISTER_NAME will change depending upon
      the particular processor being debugged.  */
 
-  numregs = ARCH_NUM_REGS;
+  numregs = ARCH_NUM_REGS + NUM_PSEUDO_REGS;
   
   if (objc == 0)               /* No args, just do all the regs */
     {