This is the mail archive of the gdb-patches@sourceware.org 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: Running testsuite with /proc/sys/kernel/core_uses_pid set, avoiding leaving core dump files behind


On Wed, 07 Sep 2011 18:18:38 +0200, Pedro Alves wrote:
> I'm fixing this by making the tests look for core.PID as well.

Do you have anything against using lib/gdb.exp core_find instead?


> Anyway, I don't supposed there are any objections to this
> patch?

While I agree that leaving a bunch of "anonymous" core files is definitely bad
the advantage of lib/gdb.exp core_find is that it keeps the intermediate files
for later problems investigations - identifiable with names "$binfile.core".


Thanks,
Jan


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