Re: [patch] Forbid run with a core file loaded

Mark Kettenis
2010-05-21T14:47:35Z

> Date: Fri, 21 May 2010 15:47:19 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
>
> Hi,
>
> there is already a protection against loading a core file when a program is
> running.

That makes sense. But what you are suggesting doesn't.

I often start gdb and load a core file to investigate a problem. Then
I set a breakpoint at some point before the crash and run the program
again. This used to work just fine.