From: Andrew Cagney <cagney@gnu.org>
To: Lan Zhang <Lan.Zhang@Zoran.com>
Cc: gdb@sources.redhat.com
Subject: Re: GDB remote debug print out
Date: Tue, 05 Oct 2004 18:55:00 -0000 [thread overview]
Message-ID: <4162ED9C.4050809@gnu.org> (raw)
In-Reply-To: <E65CD2CAB74C80498703D6EF7624BB4C4ACBBB@zmaex.zma.zoran.com>
> Hi,
>
> I did some remote debugging project, everything looks fine execpt the
> weird char send from device.
> I set debug serial to 0, but it didn't help.
You mean all the \x00, \xff, \x11, and \aa's in:
w +$z0,ee4b8,4#ce
r
\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x
00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x
00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x
00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x
00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x
11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\x
ff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\x
aa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x
00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x
00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x
00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x
00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x
11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\x
ff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\x
aa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x
00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x
00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x
00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x
00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x
11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\x
ff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\x
aa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x
00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x
00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x
00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x
00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x
11\x00\x00\x00\x00\xaa\xff\x11\x00\x00\x00\x00\xaa\xff\x10\x1a\x00\x00\x00\xaa\x
ff\x11\x11\x00\x00\x00\xaa+<903e5b00>$OK#9a
> I attached the result from the gdb. Is that the printf output from the
> target?
I don't think so (although I'm puzzled by "<903e5b00>" it looks more
like a serial comm's problem and appears to be a repeating sequence
(what I've no idea). Try things like connecting to the serial device
using kermit or similar.
Andrew
> Thanks .
>
> Lan Zhang
>
prev parent reply other threads:[~2004-10-05 18:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-22 14:54 Lan Zhang
2004-10-05 18:55 ` Andrew Cagney [this message]
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=4162ED9C.4050809@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).