This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] lib/mi-support.exp: kill SID inferior prior to reconnecting
- From: Daniel Jacobowitz <drow at false dot org>
- To: Kevin Buettner <kevinb at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 21 Jul 2007 00:29:03 -0400
- Subject: Re: [RFC] lib/mi-support.exp: kill SID inferior prior to reconnecting
- References: <20070720141802.58d24ee5@ironwood.lan>
On Fri, Jul 20, 2007 at 02:18:02PM -0700, Kevin Buettner wrote:
> Below is another SID related patch. This patch was motivated by
> gdb.mi/mi-var-cp.exp which uses the inline test support in
> lib/mi-support.exp. The first inline test runs okay, but subsequent
> tests run into trouble when attempting to reconnect to SID using the
> same port as the existing connection. This patch simply kills (or
> attempts to kill) the inferior first to avoid that problem.
>
> Comments?
I've had to do similar things for gdbserver, so I think this is
probably right.
--
Daniel Jacobowitz
CodeSourcery