[PATCH] Add minidump write utility

Jon TURNEY jon.turney@dronecode.org.uk
Sun Feb 9 12:37:00 GMT 2014

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

More information about the Cygwin-patches mailing list