This is the mail archive of the ecos-devel@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to debug app in redboot


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]