This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Remote communication error


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]