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: [patch] Forbid run with a core file loaded


> 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.


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