This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa/testsuite] Get the inferior to dump core
- From: Michael Chastain <mec dot gnu at mindspring dot com>
- To: gdb-patches at sources dot redhat dot com, cagney at gnu dot org
- Date: Thu, 23 Sep 2004 12:01:34 -0400
- Subject: Re: [rfa/testsuite] Get the inferior to dump core
- References: <414EE841.7080908@gnu.org>
This patch is approved.
I had wondered about that technique of bigcore.exp, it surprised me a
bit when I saw that it was making two runs of the inferior.
> Is this ok? I just wonder if it should be generalized and moved to
> gdb.exp, I guess that should be a separate pass.
I don't know exactly what "it" is referring to, but a separate pass
for moving "it" to gdb.exp sounds good to me.
I like what corefile.exp tries to do. It creates a unique subdirectory
and runs the target program in the subdirectory so that the core file
is easy to find. It suffers from build != host problems though.
Michael
===
2004-09-20 Andrew Cagney <cagney@gnu.org>
* gdb.base/bigcore.exp: Replace the code that creates a corefile
from a separate process with code that creates a corefile by
making the inferior dump core.