/* Native-dependent code for MIPS systems running NetBSD.
- Copyright (C) 2000, 2001, 2002, 2004, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001, 2002, 2004, 2007, 2008
+ Free Software Foundation, Inc.
This file is part of GDB.
return;
}
- if (regno == -1 || regno >= gdbarch_fp0_regnum (current_gdbarch))
+ if (regno == -1 || regno >= gdbarch_fp0_regnum (get_regcache_arch (regcache)))
{
struct fpreg fpregs;
return;
}
- if (regno == -1 || regno >= gdbarch_fp0_regnum (current_gdbarch))
+ if (regno == -1 || regno >= gdbarch_fp0_regnum (get_regcache_arch (regcache)))
{
struct fpreg fpregs;