This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Running testsuite with /proc/sys/kernel/core_uses_pid set, avoiding leaving core dump files behind
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 8 Sep 2011 15:08:33 +0200
- Subject: Re: Running testsuite with /proc/sys/kernel/core_uses_pid set, avoiding leaving core dump files behind
- References: <201109071718.38581.pedro@codesourcery.com>
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