[PATCH] Add minidump write utility
Sun Feb 9 12:28:00 GMT 2014
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 <firstname.lastname@example.org>
>> * 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.
More information about the Cygwin-patches