From: Andrew Cagney <cagney@gnu.org>
To: Lan Zhang <Lan.Zhang@Zoran.com>
Cc: gdb@sources.redhat.com
Subject: Re: Remote communication error
Date: Fri, 24 Sep 2004 21:23:00 -0000 [thread overview]
Message-ID: <4154884A.7020706@gnu.org> (raw)
In-Reply-To: <E65CD2CAB74C80498703D6EF7624BB4C4ACBC1@zmaex.zma.zoran.com>
> 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
next prev parent reply other threads:[~2004-09-24 21:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-24 19:09 Lan Zhang
2004-09-24 21:23 ` Andrew Cagney [this message]
2004-09-24 21:30 Xinan Tang
2004-09-24 21:57 Lan Zhang
2004-09-24 22:11 ` Andrew Cagney
2004-09-24 22:21 Xinan Tang
2004-09-24 22:25 Lan Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4154884A.7020706@gnu.org \
--to=cagney@gnu.org \
--cc=Lan.Zhang@Zoran.com \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox