This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Fix typos in regcache.c
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [PATCH] Fix typos in regcache.c
- From: Elena Zannoni <ezannoni at cygnus dot com>
- Date: Fri, 21 Jul 2000 18:26:19 -0400 (EDT)
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);
}