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

  By default, the gdb (I am using v6.1) will time out in 2 seconds if no
response comes back from the remote stub. You can increase it to a large
value by modifying the variable 'remote_timeout' in file "top.c" and see
whether that can fix your problem (of course you need to rebuild gdb
after that).

Good luck

--Xinan 

-----Original Message-----
From: gdb-owner@sources.redhat.com [mailto:gdb-owner@sources.redhat.com]
On Behalf Of Lan Zhang
Sent: Friday, September 24, 2004 12:10 PM
To: gdb@sources.redhat.com
Subject: 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 

Lan Zhang




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