forked from Imagelibrary/binutils-gdb
2007-11-16 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (cannot_fetch_register, cannot_store_register): Add gdbarch
as parameter.
* gdbarch.{c,h}: Regenerate.
* alpha-tdep.c (alpha_cannot_fetch_register)
(alpha_cannot_store_register): Add gdbarch as parameter. Replace
current_gdbarch by gdbarch.
* cris-tdep.c (cris_cannot_fetch_register, cris_cannot_store_register)
(crisv32_cannot_fetch_register)
(crisv32_cannot_store_register): Likewise.
* arch-utils.c (cannot_register_not): Likewise.
* arch-utils.h (cannot_register_not): Likewise.
* hppa-tdep.c (hppa32_cannot_store_register)
(hppa32_cannot_store_register, hppa64_cannot_store_register)
(hppa64_cannot_fetch_register): Likewise.
* mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register)
(mipsnbsd_cannot_store_register): Likewise.
This commit is contained in:
@@ -309,17 +309,17 @@ mipsnbsd_get_longjmp_target (struct frame_info *frame, CORE_ADDR *pc)
|
||||
}
|
||||
|
||||
static int
|
||||
mipsnbsd_cannot_fetch_register (int regno)
|
||||
mipsnbsd_cannot_fetch_register (struct gdbarch *gdbarch, int regno)
|
||||
{
|
||||
return (regno == MIPS_ZERO_REGNUM
|
||||
|| regno == mips_regnum (current_gdbarch)->fp_implementation_revision);
|
||||
|| regno == mips_regnum (gdbarch)->fp_implementation_revision);
|
||||
}
|
||||
|
||||
static int
|
||||
mipsnbsd_cannot_store_register (int regno)
|
||||
mipsnbsd_cannot_store_register (struct gdbarch *gdbarch, int regno)
|
||||
{
|
||||
return (regno == MIPS_ZERO_REGNUM
|
||||
|| regno == mips_regnum (current_gdbarch)->fp_implementation_revision);
|
||||
|| regno == mips_regnum (gdbarch)->fp_implementation_revision);
|
||||
}
|
||||
|
||||
/* Shared library support. */
|
||||
|
||||
Reference in New Issue
Block a user