This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] Fix typos in regcache.c



I just committed this one:

2000-07-21  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * regcache.c (read_register, read_register_bytes): Fix typos.

Index: regcache.c
===================================================================
RCS file: /cvs/src/src/gdb/regcache.c,v
retrieving revision 1.4
diff -c -u -r1.4 regcache.c
cvs server: conflicting specifications of output style
--- regcache.c  2000/07/12 22:01:17     1.4
+++ regcache.c  2000/07/21 22:23:16
@@ -377,7 +377,7 @@
          Update it from the target.  */
       if (regno < NUM_REGS)
        target_fetch_registers (regno);
-      else if (regno < NUM_PSEUDO_REGS)
+      else if (regno < NUM_REGS + NUM_PSEUDO_REGS)
        ARCH_FETCH_PSEUDO_REGISTERS (regno);
 
       if (!register_valid[regno])
@@ -532,7 +532,7 @@
     {
       if (regno < NUM_REGS)
        target_fetch_registers (regno);
-      else if (regno < NUM_PSEUDO_REGS)
+      else if (regno < NUM_REGS + NUM_PSEUDO_REGS)
        ARCH_FETCH_PSEUDO_REGISTERS (regno);
     }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]