Remote communication error

Andrew Cagney cagney@gnu.org
Fri Sep 24 21:23:00 GMT 2004


> Hi,
> 
> I set up a remote debug using USB port. I got some message like: Remote
> communication error: Connection timed out. And this can happen at the
> begin of the debug or after I already did some debug commands. But the
> whole remote debug works fine for the serial port. I think I didn't add
> USB interface correctly. Could anyone point me which code related to the
> remote communication error, and why this happens? 
> 
> Thanks a lot 

That it works with a simple serial device and not USB suggests a bug in 
the kernel or h/w.  GDB (assuming this is with a standard GDB) uses 
identical code to drive both devices.

You can use "(gdb) set debug serial" to see exactly what GDB is doing 
when it hangs.

ANdrew





More information about the Gdb mailing list