This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: many tests restart gdbserver
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