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] Add call to gdb_exit prior to gdb_start in gdb.cp/ref-params.exp


On Fri, Jul 13, 2007 at 04:53:41PM -0700, Kevin Buettner wrote:
> I've been testing a mep-elf toolchain using the SID simulator.  I found
> it necessary to add the call to gdb_exit as indicated in the patch below.
> Without this patch, I get 3 passes and 16 unresolved testcases.  With the
> patch, I see 14 passes (and no failures or unresolved testcases).
> 
> I took a look at invcations of gdb_start in other tests and found
> that it is customary to invoke gdb_exit prior to gdb_start.  (It is
> not _always_ done, but nearly so.)  Thus it seems to me that the
> missing call to gdb_exit in ref-params.exp is merely an oversight.
> 
> Comments?

Hmm, my runs of ref-params.exp don't show GDB being restarted.  I
think it's just reusing the same GDB.  Still, your patch looks right.

-- 
Daniel Jacobowitz
CodeSourcery


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