* 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__.
This commit is contained in:
parent
f68be6f088
commit
4ddd278ffa
5 changed files with 15 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue