public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Problems with run tests on a i386 platform
@ 2001-03-23  9:09 Hansjörg Petriffer
  2001-03-23  9:26 ` Keith Seitz
  0 siblings, 1 reply; 3+ messages in thread
From: Hansjörg Petriffer @ 2001-03-23  9:09 UTC (permalink / raw)
  To: 'gdb@sourceware.cygnus.com'

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

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

* Re: Problems with run tests on a i386 platform
  2001-03-23  9:09 Problems with run tests on a i386 platform Hansjörg Petriffer
@ 2001-03-23  9:26 ` Keith Seitz
  2001-03-23  9:27   ` Keith Seitz
  0 siblings, 1 reply; 3+ messages in thread
From: Keith Seitz @ 2001-03-23  9:26 UTC (permalink / raw)
  To: Hansjörg Petriffer
  Cc: 'gdb@sourceware.cygnus.com'

On Fri, 23 Mar 2001, =?iso-8859-1?Q?Hansj=F6rg_Petriffer?= wrote:

> (gdb) set remotedebug 0
> Warning: command 'set remotedebug' is deprecated.
> Use 'set debug remote'.

What happens when you do these steps manually, but set remotedebug to 
"1"? That might give us a clue about the malformed packets below...

> 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

Keith


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

* Re: Problems with run tests on a i386 platform
  2001-03-23  9:26 ` Keith Seitz
@ 2001-03-23  9:27   ` Keith Seitz
  0 siblings, 0 replies; 3+ messages in thread
From: Keith Seitz @ 2001-03-23  9:27 UTC (permalink / raw)
  To: Hansjörg Petriffer,
	'gdb@sourceware.cygnus.com'

On Fri, 23 Mar 2001, Keith Seitz wrote:

> > 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

Okay, scratch that. You're timing out. There is something wrong with your 
serial connection. Try using (or not using) a null modem adapter, 
different serial ports. Try setting the baudrate to 9600, etc.

Keith

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

end of thread, other threads:[~2001-03-23  9:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-23  9:09 Problems with run tests on a i386 platform Hansjörg Petriffer
2001-03-23  9:26 ` Keith Seitz
2001-03-23  9:27   ` Keith Seitz

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).