From: Andrew Lunn <andrew@lunn.ch>
To: George Ying <seu.ying@gmail.com>
Cc: Andrew Lunn <andrew@lunn.ch>, ecos-devel@ecos.sourceware.org
Subject: Re: how to debug app in redboot
Date: Thu, 19 Jun 2008 07:59:00 -0000 [thread overview]
Message-ID: <20080619075833.GB32268@lunn.ch> (raw)
In-Reply-To: <e2c648650806182334l64192111lbd2dac882b311d11@mail.gmail.com>
On Thu, Jun 19, 2008 at 02:34:19PM +0800, George Ying wrote:
> there are any suggestion?
What is your target hardware?
What version of gdb are you using?
What version of eCos.
Andrew
>
> 2008/6/18, George Ying <seu.ying@gmail.com>:
> > hi,Andrew:
> > when i use arm-elf-gdb to connect target, it's fail,show below:
> > target address:192.168.0.173
> >
> > (gdb) set debug remote 1
> > (gdb) target remote 192.168.0.173:9000
> > Remote debugging using 192.168.0.173:9000
> > Sending packet: $Hc-1#09...putpkt: Junk: RedBoot>
> > Ack
> > Packet received:
> > Sending packet: $qC#b4...Ack
> > Packet received:
> > Sending packet: $qOffsets#4b...Ack
> > Packet received:
> > Sending packet: $?#3f...Sending packet: $?#3f...Ack
> > Packet received: S05
> > Sending packet: $Hg0#df...Packet instead of Ack, ignoring it
> > Packet instead of Ack, ignoring it
> > Sending packet: $Hg0#df...Packet instead of Ack, ignoring it
> > Sending packet: $Hg0#df...Packet instead of Ack, ignoring it
> > Sending packet: $Hg0#df...Timed out.
> > Timed out.
> > Timed out.
> >
> > 2008/6/17, Andrew Lunn <andrew@lunn.ch>:
> > > > I capture package with ethereal, found that for any gdb request
> > > > command from host,
> > > > redboot return $#00 (it's mean system don't support this command), why?
> > >
> > > The gdb stub in eCos only supports a subset of the gdb commands. So i
> > > would expect to see some commands rejected. However it should not
> > > reject all commands. The gdn x command to show a region of memory
> > > should work. What happens when you try that?
> > >
> > > Andrew
> > >
> >
> >
> > --
> > George
> >
>
>
> --
> George
next prev parent reply other threads:[~2008-06-19 7:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-17 2:27 seu ying
2008-06-17 8:02 ` Andrew Lunn
2008-06-18 12:27 ` George Ying
2008-06-19 6:34 ` George Ying
2008-06-19 7:59 ` Andrew Lunn [this message]
2008-06-19 9:22 ` George Ying
2008-06-19 9:35 ` Andrew Lunn
2008-06-19 10:04 ` George Ying
2008-06-19 11:21 ` Andrew Lunn
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=20080619075833.GB32268@lunn.ch \
--to=andrew@lunn.ch \
--cc=ecos-devel@ecos.sourceware.org \
--cc=seu.ying@gmail.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).