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]

Re: Problems with run tests on a i386 platform


Hansjörg Petriffer wrote:
> 
> I'm not sure if I make something wrong.
> I have made the following steps:
> 
> -i386pc platform    packeges stub
> -build library
> -bash-2.04$ dd conv=sync if=gdb_module.bin of=/dev/fd0
> 33+1 records in
> 34+0 records out
> -Made a new project (i386-default) Run tests (compiling is without errors)
> -run tests into the configuration tool
> 
> Now I receive the following messages:
> 
> *** 16:13:51 Run started
> GNU gdb 5.0
> Copyright 2000 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "--host=i686-pc-cygwin --target=i386-elf"...
> (gdb) set height 0
> (gdb) set remotedebug 0
> Warning: command 'set remotedebug' is deprecated.
> Use 'set debug remote'.
> 
> (gdb) set remotebaud 38400
> (gdb) target remote com1
> Remote debugging using com1
> Ignoring packet error, continuing...
> Ignoring packet error, continuing...
> Ignoring packet error, continuing...
> Couldn't establish connection to remote target
> Malformed response to offset query, timeout
> (gdb) load
> You can't do that when your target is `exec'

This is your problem. Try a snapshot version of GDB and see if that helps.
http://sources.redhat.com/gdb

[snip] 
> It seems for me that something goes wrong with the serial comunication,
> because it makes no difference if the remote is running. I'm also not sure
> if the remote i386 Pc is working. If I use the floppy that I have made than
> I see on the upper left corner the following message:
> 
> ++$T0508:dc370000;04:e00f0000;#4b
> 
> Is this okay?
> 
> As serial cable I use a Simple null modem without handshaking. Is this
> correct?

Yes and yes.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


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