mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 17:40:49 +00:00
import gdb-1999-08-23 snapshot
This commit is contained in:
@@ -139,6 +139,12 @@ store_inferior_registers (regno)
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/* Another crock. HPUX complains if you write a nonzero value to
|
||||
the high part of IPSW. What will it take for HP to catch a
|
||||
clue about building sensible interfaces? */
|
||||
if (regno == IPSW_REGNUM && len == 8)
|
||||
*(int *)®isters[REGISTER_BYTE (regno)] = 0;
|
||||
#endif
|
||||
|
||||
for (i = 0; i < len; i += sizeof (int))
|
||||
@@ -152,7 +158,7 @@ store_inferior_registers (regno)
|
||||
the kernel doesn't let us at the registers. */
|
||||
char *err = safe_strerror (errno);
|
||||
char *msg = alloca (strlen (err) + 128);
|
||||
sprintf (msg, "reading `%s' register: %s",
|
||||
sprintf (msg, "writing `%s' register: %s",
|
||||
REGISTER_NAME (regno), err);
|
||||
/* If we fail to write the PC, give a true error instead of
|
||||
just a warning. */
|
||||
|
||||
Reference in New Issue
Block a user