This is the mail archive of the
ecos-devel@sourceware.org
mailing list for the eCos project.
Re: how to debug app in redboot
- From: "George Ying" <seu dot ying at gmail dot com>
- To: "Andrew Lunn" <andrew at lunn dot ch>
- Cc: ecos-devel at ecos dot sourceware dot org
- Date: Thu, 19 Jun 2008 17:22:10 +0800
- Subject: Re: how to debug app in redboot
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=6b1wVfolR0f+sBnK50LXkEMtfm3Eeyznnwg4sqo9occ=; b=APjMhXx0vNJDW09SG11Dce8+vGzIcjxl0hTsjVFetjfx3H1Aun8XDgAqYZxdp5H+O7 9SAznhWtTcIeR/plFdDG08EbbgtBv/7VkS9O1nfueYHFqkZuKxMrU+j0Xoz3gwqQhNJl ReaOqHYrHO00wdBYVLS+eSt/BCQPK8kXkE2cM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=eLNVAwmjYxYbZcgOtNHCq4pDC95PL2G77GLWCVet4QQFHRNNSBKbK4x2CG7PyylJtE bZF4Lz8h82ZB+3Vd9IntpuDo4iNgm5LPH+Th6/enWMvBOqW5sD0K3hUfXAunSCBJ/61c Yf/d5yrbgbhEcobvNCQb47sLeIGuoizsNjmTM=
- References: <e2c648650806161927u32d5d80cl291ab1a62df8b585@mail.gmail.com> <20080617080200.GA24909@lunn.ch> <e2c648650806180527p33937b74j2e81164a01cc71a8@mail.gmail.com> <e2c648650806182334l64192111lbd2dac882b311d11@mail.gmail.com> <20080619075833.GB32268@lunn.ch>
my target hardware is winbond w90n740 arm7 chipã
my host os is redhat 9linuxï gdb is arm-elf-gdbïversion 5.3
ecos version ïthe latest version
my redboot can run on boardïthe dhcpïping app run ok
but cant connect to target with gdbããã
thanks
2008/6/19, Andrew Lunn <andrew@lunn.ch>:
> 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
>
--
George