[ECOS] x86, redboot & gdb

Andrew Lunn andrew@lunn.ch
Thu Nov 11 16:17:00 GMT 2004


On Thu, Nov 11, 2004 at 05:12:20PM +0100, Jean-Fran?ois Mullet wrote:
> Hi All,
> 
> I'm starting with eCos and Redboot and I'm running into a debug problem. I cannot connect to the target using gdb.
> The host and the target are both x86. 
> I successfully ping the target, download the program using the load command through tftp. 
> I'm using gdb from the command line; immediately after the "target remote 192.168.0.10:9000" command, something like 5 packets are received on the target and about 5 send and nothing more.
> >From the host side I get:
> 
> Ignoring packet error, continuing...
> Ignoring packet error, continuing...
> Ignoring packet error, continuing...
> Ignoring packet error, continuing...
> Ignoring packet error, continuing...
> Couldn't establish connection to remote target
> Remote communication error: Connection reset by peer.

Try using

set debug serial 1

You should then be able to see the packets sent back and forth. Do
they actually look like gdb packets?

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list