* sparc-nat.c (fetch_inferior_registers): Correct
authorDaniel Jacobowitz <drow@false.org>
Sat, 14 Jun 2003 16:22:23 +0000 (16:22 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sat, 14 Jun 2003 16:22:23 +0000 (16:22 +0000)
a reference to "registers".

gdb/ChangeLog
gdb/sparc-nat.c

index 77c081db916eb869519e6b91b27c25ef9bd33c00..9dac8f20edb4eb022eeb11ce7a19f2c21b3b0c3b 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-14  Daniel Jacobowitz  <drow@mvista.com>
+
+       * sparc-nat.c (fetch_inferior_registers): Correct
+       a reference to "registers".
+
 2003-06-14  Jeroen Dekkers  <jeroen@dekkers.cx>
 
        * Makefile.in (exc_request_U_h): Define
index b634f6c87ddeb255b39cd518a4b258258f1f1d77..33145e0150e912e373bf70f3aeb270e6d99de31b 100644 (file)
@@ -108,7 +108,7 @@ fetch_inferior_registers (int regno)
        = inferior_registers.r_pc;
       *(int *) &deprecated_registers[REGISTER_BYTE (NPC_REGNUM)]
        = inferior_registers.r_npc;
-      *(int *) &registers[REGISTER_BYTE (Y_REGNUM)] = inferior_registers.r_y;
+      *(int *) &deprecated_registers[REGISTER_BYTE (Y_REGNUM)] = inferior_registers.r_y;
 
       for (i = G0_REGNUM; i <= O7_REGNUM; i++)
        deprecated_register_valid[i] = 1;