[rfa/testsuite] Get the inferior to dump core

Michael Chastain mec.gnu@mindspring.com
Thu Sep 23 17:58:00 GMT 2004


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.



More information about the Gdb-patches mailing list