mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-01 11:59:27 +08:00
* 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:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user