* [RFC] Add call to gdb_exit prior to gdb_start in gdb.cp/ref-params.exp
@ 2007-07-13 23:53 Kevin Buettner
2007-07-14 1:25 ` Daniel Jacobowitz
2007-07-20 0:03 ` Kevin Buettner
0 siblings, 2 replies; 4+ messages in thread
From: Kevin Buettner @ 2007-07-13 23:53 UTC (permalink / raw)
To: gdb-patches
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?
* gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
prior to `gdb_start'.
Index: testsuite/gdb.cp/ref-params.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/ref-params.exp,v
retrieving revision 1.3
diff -u -p -r1.3 ref-params.exp
--- testsuite/gdb.cp/ref-params.exp 9 Jan 2007 17:59:12 -0000 1.3
+++ testsuite/gdb.cp/ref-params.exp 13 Jul 2007 23:34:03 -0000
@@ -46,6 +46,7 @@ proc gdb_start_again { text } {
global binfile
global srcfile
+ gdb_exit
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [RFC] Add call to gdb_exit prior to gdb_start in gdb.cp/ref-params.exp
2007-07-13 23:53 [RFC] Add call to gdb_exit prior to gdb_start in gdb.cp/ref-params.exp Kevin Buettner
@ 2007-07-14 1:25 ` Daniel Jacobowitz
2007-07-14 1:09 ` Daniel Jacobowitz
2007-07-20 0:03 ` Kevin Buettner
1 sibling, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2007-07-14 1:25 UTC (permalink / raw)
To: gdb-patches, gdb-patches
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFC] Add call to gdb_exit prior to gdb_start in gdb.cp/ref-params.exp
2007-07-14 1:25 ` Daniel Jacobowitz
@ 2007-07-14 1:09 ` Daniel Jacobowitz
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2007-07-14 1:09 UTC (permalink / raw)
To: gdb-patches, gdb-patches
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFC] Add call to gdb_exit prior to gdb_start in gdb.cp/ref-params.exp
2007-07-13 23:53 [RFC] Add call to gdb_exit prior to gdb_start in gdb.cp/ref-params.exp Kevin Buettner
2007-07-14 1:25 ` Daniel Jacobowitz
@ 2007-07-20 0:03 ` Kevin Buettner
1 sibling, 0 replies; 4+ messages in thread
From: Kevin Buettner @ 2007-07-20 0:03 UTC (permalink / raw)
To: gdb-patches
On Fri, 13 Jul 2007 16:53:41 -0700
Kevin Buettner <kevinb@redhat.com> wrote:
> * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
> prior to `gdb_start'.
Committed.
Kevin
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-07-19 0:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-13 23:53 [RFC] Add call to gdb_exit prior to gdb_start in gdb.cp/ref-params.exp Kevin Buettner
2007-07-14 1:25 ` Daniel Jacobowitz
2007-07-14 1:09 ` Daniel Jacobowitz
2007-07-20 0:03 ` Kevin Buettner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox