This is the mail archive of the ecos-discuss@sources.redhat.com 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: x86, redboot & gdb


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


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