public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Problems with run tests on a i386 platform
@ 2001-03-22  7:41 Hansjörg Petriffer
  2001-03-22 11:30 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Hansjörg Petriffer @ 2001-03-22  7:41 UTC (permalink / raw)
  To: Ecos-Discuss (E-Mail)

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'
(gdb) break cyg_test_exit
Breakpoint 1 at 0x16cef: file
//d/daten/source/ecos/source/packages/infra/v1_3_1/src/tcdiag.cxx, line 116.
(gdb) break cyg_assert_fail
Function "cyg_assert_fail" not defined.
(gdb) break cyg_test_init
Breakpoint 2 at 0x16c0b: file
//d/daten/source/ecos/source/packages/infra/v1_3_1/src/tcdiag.cxx, line 62.
(gdb) cont
The program is not being run.
(gdb) set cyg_test_is_simulator=0
Address of symbol "cyg_test_is_simulator" is unknown.
(gdb) cont
The program is not being run.
(gdb) *** 16:15:09 Run complete
*** 16:15:09 Run complete

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?

Thanks for any hint!
Hansjoerg

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] Problems with run tests on a i386 platform
  2001-03-22  7:41 [ECOS] Problems with run tests on a i386 platform Hansjörg Petriffer
@ 2001-03-22 11:30 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2001-03-22 11:30 UTC (permalink / raw)
  To: Hansjörg Petriffer; +Cc: Ecos-Discuss (E-Mail)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2075 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-03-22 11:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-22  7:41 [ECOS] Problems with run tests on a i386 platform Hansjörg Petriffer
2001-03-22 11:30 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).