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 <cygwin-patches at cygwin dot com>
- Date: Sun, 09 Feb 2014 12:37:07 +0000
- Subject: Re: [PATCH] Add minidump write utility
- Authentication-results: sourceware.org; auth=none
- References: <52F50B71 dot 8030608 at dronecode dot org dot uk> <52F51450 dot 7010601 at dancol dot org>
On 07/02/2014 17:13, Daniel Colascione wrote:
> May I recommend setting MiniDumpWithHandleData | MiniDumpWithFullMemoryInfo |
> MiniDumpWithThreadInfo | MiniDumpWithFullAuxiliaryState |
> MiniDumpIgnoreInaccessibleMemory | MiniDumpWithTokenInformation |
> MiniDumpWithModuleHeaders | MiniDumpWithIndirectlyReferencedMemory by default?
This seems sensible, but I can't see a clear statement that it's safe to
assume that MiniDumpWriteDump() ignores dump type flags it doesn't understand,
so it might be necessary to check the version of dbghelp.dll as well.
Originally, I was thinking of adding some named dump levels, like those
described at [1], but that hasn't happened yet.
[1] http://www.debuginfo.com/articles/effminidumps2.html#strategies