This is the mail archive of the gdb-patches@sources.redhat.com 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: [rfa/testsuite] Get the inferior to dump core


This patch is approved.

Tks, I'll commit shortly.


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.

The sequence needed to first generate and then locate/rename a corefile from an inferior running under GDB (instead of running the program twice).


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.

but it (and I'm sure there are others) suffers from corefile != inferior problems and I'm pretty sure all duplicated corefile's logic.


Andrew



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