diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2007-06-07 05:00:42 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2007-06-07 05:00:42 +0000 |
commit | 632110b170821f06baf4eec34716b9ad7b1284f7 (patch) | |
tree | b76b69b61b2ec096bba849447c368d7b2db99a68 /gdb/remote.c | |
parent | cd8ab8d1bf84dd23985d6f915b71ca4de856825e (diff) | |
download | gdb-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.c | 2 |
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); |