Re: Remote communication error

Andrew Cagney
2004-09-24T21:23:44Z

> 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