From: "Lan Zhang" <Lan.Zhang@Zoran.com>
To: <gdb@sources.redhat.com>
Subject: RE: Remote communication error
Date: Fri, 24 Sep 2004 22:25:00 -0000 [thread overview]
Message-ID: <E65CD2CAB74C80498703D6EF7624BB4C4ACBC4@zmaex.zma.zoran.com> (raw)
I can access this address:
(gdb-usb) x/i 0xec2d0
Sending packet: $mec2d0,4#5b...Ack
Packet received: 1500000a
target_xfer_memory (0xec2d0, xxx, 4, read, xxx) = 4, bytes = 15 00 00 0a
0xec2d0 <FirstMode+32>: beq 0xec32c <FirstMode+124>
(gdb-usb)
The stop address is randomly, it can stop at any address, and I can
access (read and write) any memory address before stopped. If I restart
over, it would pass the last stopped address and stopped at a different
place. That is why I think I didn't add my USB interface correctly into
the GDB, or on my target.
Thanks a lot.
Lan
-----Original Message-----
From: Andrew Cagney [mailto:cagney@gnu.org]
Sent: Friday, September 24, 2004 6:09 PM
To: Lan Zhang
Cc: gdb@sources.redhat.com
Subject: Re: Remote communication error
> w +
> c set debug serial 1
> c n
> w $mec2b0,4#59
> r +$04e02de5#29
> w +$mec2b4,4#5d
> ...
> ...
> ...
> w +$mec2cc,4#8d
> r +$000050e3#bd
> w +$mec2d0,4#5b
> r <Error: Connection timed out>
If this is deterministic then it looks like an attempt to read 0xec2d0
hangs your remote stub / machine :-(
Instead of a NEXT, try:
x/i 0xec2d0
after that, you've got a hardware problem.
Andrew
> r <Error: Connection timed out>
next reply other threads:[~2004-09-24 22:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-24 22:25 Lan Zhang [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-09-24 22:21 Xinan Tang
2004-09-24 21:57 Lan Zhang
2004-09-24 22:11 ` Andrew Cagney
2004-09-24 21:30 Xinan Tang
2004-09-24 19:09 Lan Zhang
2004-09-24 21:23 ` Andrew Cagney
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=E65CD2CAB74C80498703D6EF7624BB4C4ACBC4@zmaex.zma.zoran.com \
--to=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