From eb01fc6294e34ebbe1d739bf8771fdd8a38d171a Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Sat, 14 Jun 2003 16:22:23 +0000 Subject: [PATCH] * sparc-nat.c (fetch_inferior_registers): Correct a reference to "registers". --- gdb/ChangeLog | 5 +++++ gdb/sparc-nat.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 77c081db916..9dac8f20edb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-06-14 Daniel Jacobowitz + + * sparc-nat.c (fetch_inferior_registers): Correct + a reference to "registers". + 2003-06-14 Jeroen Dekkers * Makefile.in (exc_request_U_h): Define diff --git a/gdb/sparc-nat.c b/gdb/sparc-nat.c index b634f6c87dd..33145e0150e 100644 --- a/gdb/sparc-nat.c +++ b/gdb/sparc-nat.c @@ -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 *) ®isters[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; -- 2.30.2