Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* many tests restart gdbserver
@ 2007-02-13 15:29 Aman Wardak
  2007-02-13 15:43 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Aman Wardak @ 2007-02-13 15:29 UTC (permalink / raw)
  To: gdb

When the testsuite is run in a cross environment, many of the tests
start up the gdbserver on the target twice and only use the second
instance.

 lib/gdb.exp:gdb_start() starts the first instance
 lib/gdb.exp:runto_main() starts the second

Is this actually done for a purpose (maybe its needed to do this
sometimes) ? Or can we optimize this?  Has anyone looked at it?

Thanks,
Aman


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

* Re: many tests restart gdbserver
  2007-02-13 15:29 many tests restart gdbserver Aman Wardak
@ 2007-02-13 15:43 ` Daniel Jacobowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2007-02-13 15:43 UTC (permalink / raw)
  To: Aman Wardak; +Cc: gdb

On Mon, Feb 12, 2007 at 07:33:11PM -0800, Aman Wardak wrote:
> When the testsuite is run in a cross environment, many of the tests
> start up the gdbserver on the target twice and only use the second
> instance.
> 
> lib/gdb.exp:gdb_start() starts the first instance
> lib/gdb.exp:runto_main() starts the second
> 
> Is this actually done for a purpose (maybe its needed to do this
> sometimes) ? Or can we optimize this?  Has anyone looked at it?

I never figured out a way to get the testsuite to work without this.
If you can, be my guest!  I plan to try again sometime, but it won't
be any time soon.

-- 
Daniel Jacobowitz
CodeSourcery


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

end of thread, other threads:[~2007-02-13 11:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-13 15:29 many tests restart gdbserver Aman Wardak
2007-02-13 15:43 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox