diff options
Diffstat (limited to 'gdb/alphabsd-nat.c')
-rw-r--r-- | gdb/alphabsd-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/alphabsd-nat.c b/gdb/alphabsd-nat.c index fd21983..e10b450 100644 --- a/gdb/alphabsd-nat.c +++ b/gdb/alphabsd-nat.c @@ -101,7 +101,7 @@ alphabsd_fetch_inferior_registers (struct regcache *regcache, int regno) return; } - if (regno == -1 || regno >= FP0_REGNUM) + if (regno == -1 || regno >= gdbarch_fp0_regnum (current_gdbarch)) { struct fpreg fpregs; @@ -136,7 +136,7 @@ alphabsd_store_inferior_registers (struct regcache *regcache, int regno) return; } - if (regno == -1 || regno >= FP0_REGNUM) + if (regno == -1 || regno >= gdbarch_fp0_regnum (current_gdbarch)) { struct fpreg fpregs; |