* remote.c (process_g_packet): Don't check size.
* gdbarch.sh: Remove register_bytes_ok. * gdbarch.c: Regenerated. * gdbarch.h: Regenerated. * m68k-tdep.c (REGISTER_BYTES_NOFP): Remove. (m68k_register_bytes_ok): Remove. (m68k_gdbarch_init): Don't register m68k_register_bytes_ok.
This commit is contained in:
parent
cd8ab8d1bf
commit
632110b170
6 changed files with 10 additions and 86 deletions
|
@ -3597,8 +3597,6 @@ process_g_packet (struct regcache *regcache)
|
|||
buf_len = strlen (rs->buf);
|
||||
|
||||
/* Further sanity checks, with knowledge of the architecture. */
|
||||
if (REGISTER_BYTES_OK_P () && !REGISTER_BYTES_OK (buf_len / 2))
|
||||
error (_("Remote 'g' packet reply is wrong length: %s"), rs->buf);
|
||||
if (buf_len > 2 * rsa->sizeof_g_packet)
|
||||
error (_("Remote 'g' packet reply is too long: %s"), rs->buf);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue