This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


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

Problems with run tests on a i386 platform


I have the following problems with using gdb wiht a i386target (with ecos
running).


I'm not sure if I make something wrong.

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.  
As serial cable I use a Simple null modem without handshaking. Is this
correct?

Thanks for any hint!
Hansjoerg

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