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] Do not disappoint on "Create a core file of GDB?"


> Date: Fri, 15 Jan 2010 01:35:29 +0100
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> 
> On Tue, 12 Jan 2010 17:58:48 +0100, Tom Tromey wrote:
> > Jan> 2010-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
> > Jan> 	* configure.ac (AC_CHECK_FUNCS): Check for setrlimit and getrlimit.
> > Jan> 	* configure: Regenerate.
> > Jan> 	* config.in: Regenerate.
> > Jan> 	* utils.c: Include sys/resource.h.
> > Jan> 	(dump_core, can_dump_core): New.
> > Jan> 	(internal_vproblem): Update the comment.  Check can_dump_core while
> > Jan> 	setting dump_core_p.  Replace two abort calls by dump_core calls.
> > 
> > Looks good to me.
> > Ok.
> 
> Checked-in.

I fear that after you did that the "NOTE: GDB has only three calls to
abort()." comment is no longer true.

Can you fix that?


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