This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Add call to gdb_exit prior to gdb_start in gdb.cp/ref-params.exp
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org, gdb-patches at sources dot redhat dot com
- Date: Fri, 13 Jul 2007 21:09:40 -0400
- Subject: Re: [RFC] Add call to gdb_exit prior to gdb_start in gdb.cp/ref-params.exp
- References: <20070713165341.17505f34@ironwood.lan>
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