This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: [RFC] lib/mi-support.exp: kill SID inferior prior to reconnecting


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


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