This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [PATCH] Add minidump write utility
- From: Jon TURNEY <jon dot turney at dronecode dot org dot uk>
- To: cygwin-patches at cygwin dot com
- Date: Sun, 09 Feb 2014 12:28:50 +0000
- Subject: Re: [PATCH] Add minidump write utility
- Authentication-results: sourceware.org; auth=none
- References: <52F50B71 dot 8030608 at dronecode dot org dot uk> <20140207174431 dot GA1640 at ednor dot casa dot cgf dot cx>
On 07/02/2014 17:44, Christopher Faylor wrote:
> On Fri, Feb 07, 2014 at 04:36:01PM +0000, Jon TURNEY wrote:
>>
>> This patch adds a 'minidumper' utility, which functions identically to
>> 'dumper' except it writes a Windows minidump, rather than a core file.
>>
>> I'm not sure if this is of use to anyone but me, but since I've had the patch
>> sitting around for a couple of years, here it is...
>>
>> 2014-02-07 Jon TURNEY <jon.turney@dronecode.org.uk>
>>
>> * minidumper.cc: New file.
>> * Makefile.in (CYGWIN_BINS): Add minidumper.
>> * utils.xml (minidumper): New section.
>
> This is awesome. Thanks.
>
> Could you add Red Hat as the copyright holder, like dumper.cc?
>
> You can feel free to check this in and update it as you see fit.
I've checked this in with the following adjustments:
- Fix copyright holder.
- Tweak CreateFile() invocation so we don't fail if the file already exists.
- For compatibility with dumper, terminate the dumped process after dumping
it. Add option -n to disable this behaviour.