I encountered small problem with gdb. When remote target fails to ack 'g' query and putpkt times out, remote_fetch_registers tries to read replies but doesn't send query again. This ends in infinite loop.
Probably chceking putpkt return code or repeating query could improve error recovery in this situation ... Petr Ledvina [EMAIL PROTECTED] _______________________________________________ Bug-gdb mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gdb