aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2007-06-07 05:00:42 +0000
committerVladimir Prus <vladimir@codesourcery.com>2007-06-07 05:00:42 +0000
commit632110b170821f06baf4eec34716b9ad7b1284f7 (patch)
treeb76b69b61b2ec096bba849447c368d7b2db99a68 /gdb/remote.c
parentcd8ab8d1bf84dd23985d6f915b71ca4de856825e (diff)
downloadgdb-632110b170821f06baf4eec34716b9ad7b1284f7.zip
gdb-632110b170821f06baf4eec34716b9ad7b1284f7.tar.gz
gdb-632110b170821f06baf4eec34716b9ad7b1284f7.tar.bz2
* 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.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index d6e5000..acb30ab 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -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);