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?"


Jan> this is a FAQ, GDB asks "Create a core file of GDB?", user types
Jan> "y" but a core file is never created.
[...]
Jan> Even in the case of "maint set internal-error corefile yes" it had
Jan> to be set explicitly by the user as the default is "ask", therefore
Jan> it should override the soft core limit.

This seems reasonable.

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.

Tom


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