aboutsummaryrefslogtreecommitdiff
path: root/gdb/m88k-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/m88k-nat.c')
-rw-r--r--gdb/m88k-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m88k-nat.c b/gdb/m88k-nat.c
index e7c4d68..d474aa2 100644
--- a/gdb/m88k-nat.c
+++ b/gdb/m88k-nat.c
@@ -264,7 +264,7 @@ fill_gregset (gregsetp, regno)
if ((regno == -1) || (regno == SNIP_REGNUM))
*(regp + R_NIP) = *(int *) &registers[REGISTER_BYTE(SNIP_REGNUM)];
if ((regno == -1) || (regno == SFIP_REGNUM))
- *(regp + R_SFIP) = *(int *) &registers[REGISTER_BYTE(SFIP_REGNUM)];
+ *(regp + R_FIP) = *(int *) &registers[REGISTER_BYTE(SFIP_REGNUM)];
if ((regno == -1) || (regno == PSR_REGNUM))
*(regp + R_PSR) = *(int *) &registers[REGISTER_BYTE(PSR_REGNUM)];
if ((regno == -1) || (regno == FPSR_REGNUM))