public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
From: "George Ying" <seu.ying@gmail.com>
To: "Andrew Lunn" <andrew@lunn.ch>
Cc: ecos-devel@ecos.sourceware.org
Subject: Re: how to debug app in redboot
Date: Wed, 18 Jun 2008 12:27:00 -0000	[thread overview]
Message-ID: <e2c648650806180527p33937b74j2e81164a01cc71a8@mail.gmail.com> (raw)
In-Reply-To: <20080617080200.GA24909@lunn.ch>

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

  reply	other threads:[~2008-06-18 12:27 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 [this message]
2008-06-19  6:34     ` George Ying
2008-06-19  7:59       ` Andrew Lunn
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=e2c648650806180527p33937b74j2e81164a01cc71a8@mail.gmail.com \
    --to=seu.ying@gmail.com \
    --cc=andrew@lunn.ch \
    --cc=ecos-devel@ecos.sourceware.org \
    /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).