diff options
Diffstat (limited to 'gdb/alpha-bsd-nat.c')
-rw-r--r-- | gdb/alpha-bsd-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/alpha-bsd-nat.c b/gdb/alpha-bsd-nat.c index 8a67bb0..7e8c40d 100644 --- a/gdb/alpha-bsd-nat.c +++ b/gdb/alpha-bsd-nat.c @@ -101,7 +101,7 @@ alphabsd_fetch_inferior_registers (struct target_ops *ops, } if (regno == -1 - || regno >= gdbarch_fp0_regnum (get_regcache_arch (regcache))) + || regno >= gdbarch_fp0_regnum (regcache->arch ())) { struct fpreg fpregs; @@ -138,7 +138,7 @@ alphabsd_store_inferior_registers (struct target_ops *ops, } if (regno == -1 - || regno >= gdbarch_fp0_regnum (get_regcache_arch (regcache))) + || regno >= gdbarch_fp0_regnum (regcache->arch ())) { struct fpreg fpregs; |