+Tue Feb 24 03:32:59 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * remote-sim.c (gdbsim_fetch_register): Don't abort when the
+ register size is wrong.
+
+start-sanitize-r5900
+Tue Feb 24 02:53:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * config/mips/tm-r5900.h (REGISTER_VIRTUAL_SIZE,
+ REGISTE_RAW_SIZE): Re-define.
+
+end-sanitize-r5900
Thu Feb 19 16:49:48 1998 John Metzler <jmetzler@cygnus.com>
* target.c - tracing 64 bit targets crashed long long printfs
gdbsim_fetch_register (regno)
int regno;
{
+ static int warn_user = 1;
if (regno == -1)
{
for (regno = 0; regno < NUM_REGS; regno++)
if (nr_bytes == 0)
/* register not applicable, supply zero's */
memset (buf, 0, MAX_REGISTER_RAW_SIZE);
- else if (nr_bytes > 0 && nr_bytes != REGISTER_RAW_SIZE (regno))
- fatal ("Register size different to expected");
+ else if (nr_bytes > 0 && nr_bytes != REGISTER_RAW_SIZE (regno)
+ && warn_user)
+ {
+ printf_unfiltered ("Size of register %s (%d) incorrect (%d instead of %d))",
+ reg_names [regno], regno,
+ nr_bytes, REGISTER_RAW_SIZE (regno));
+ warn_user = 0;
+ }
supply_register (regno, buf);
if (sr_get_debug ())
{