#ifdef CANNOT_FETCH_REGISTER
fprintf_unfiltered (file,
"gdbarch_dump: %s # %s\n",
- "CANNOT_FETCH_REGISTER(reg_nr)",
- XSTRING (CANNOT_FETCH_REGISTER (reg_nr)));
+ "CANNOT_FETCH_REGISTER(regnum)",
+ XSTRING (CANNOT_FETCH_REGISTER (regnum)));
#endif
#ifdef CANNOT_STORE_REGISTER
fprintf_unfiltered (file,
"gdbarch_dump: %s # %s\n",
- "CANNOT_STORE_REGISTER(reg_nr)",
- XSTRING (CANNOT_STORE_REGISTER (reg_nr)));
+ "CANNOT_STORE_REGISTER(regnum)",
+ XSTRING (CANNOT_STORE_REGISTER (regnum)));
#endif
#ifdef USE_GENERIC_DUMMY_FRAMES
fprintf_unfiltered (file,
}
int
-gdbarch_cannot_fetch_register (struct gdbarch *gdbarch, int reg_nr)
+gdbarch_cannot_fetch_register (struct gdbarch *gdbarch, int regnum)
{
if (gdbarch->cannot_fetch_register == 0)
internal_error (__FILE__, __LINE__,
"gdbarch: gdbarch_cannot_fetch_register invalid");
if (gdbarch_debug >= 2)
fprintf_unfiltered (gdb_stdlog, "gdbarch_cannot_fetch_register called\n");
- return gdbarch->cannot_fetch_register (reg_nr);
+ return gdbarch->cannot_fetch_register (regnum);
}
void
}
int
-gdbarch_cannot_store_register (struct gdbarch *gdbarch, int reg_nr)
+gdbarch_cannot_store_register (struct gdbarch *gdbarch, int regnum)
{
if (gdbarch->cannot_store_register == 0)
internal_error (__FILE__, __LINE__,
"gdbarch: gdbarch_cannot_store_register invalid");
if (gdbarch_debug >= 2)
fprintf_unfiltered (gdb_stdlog, "gdbarch_cannot_store_register called\n");
- return gdbarch->cannot_store_register (reg_nr);
+ return gdbarch->cannot_store_register (regnum);
}
void