summaryrefslogtreecommitdiffstats
path: root/gdb/sparc-stub.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-09-10 19:18:05 +0000
committerJohn Gilmore <gnu@cygnus>1992-09-10 19:18:05 +0000
commit4ddd278ffa3e6fb6aa2e956aa0c2a25b58bf56b7 (patch)
treec4d9e392e104317115969459cd0aaec7adae266a /gdb/sparc-stub.c
parentf68be6f0888b3b506857929192abfa0900cbca22 (diff)
downloadppe42-binutils-4ddd278ffa3e6fb6aa2e956aa0c2a25b58bf56b7.tar.gz
ppe42-binutils-4ddd278ffa3e6fb6aa2e956aa0c2a25b58bf56b7.zip
* i386-stub.c, sparc-stub.c (getpacket): Actually check checksums.
* m68k-stub.c: Remove a few extraneous ANSI-isms. * remote-nindy.c (nindy_prepare_to_store): Only fetch regs if they aren't already there. * remote-vx.c (vx_prepare_to_store): Ditto. * xcoffread.c: Surround forward struct defns with #ifdef __STDC__.
Diffstat (limited to 'gdb/sparc-stub.c')
-rw-r--r--gdb/sparc-stub.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/sparc-stub.c b/gdb/sparc-stub.c
index 62636c2cad..47b98109d7 100644
--- a/gdb/sparc-stub.c
+++ b/gdb/sparc-stub.c
@@ -289,11 +289,6 @@ getpacket(buffer)
{
xmitcsum = hex(getDebugChar()) << 4;
xmitcsum |= hex(getDebugChar());
-#if 1
- /* Humans shouldn't have to figure out checksums to type to it. */
- putDebugChar ('+');
- return;
-#endif
if (checksum != xmitcsum)
putDebugChar('-'); /* failed checksum */
else
OpenPOWER on IntegriCloud