diff options
| author | Magnus Hagander | 2010-12-19 20:31:23 +0000 |
|---|---|---|
| committer | Magnus Hagander | 2010-12-19 20:32:58 +0000 |
| commit | d382828f6ed1edc0f123934d53c52065ecc425c9 (patch) | |
| tree | 0d6a8b041a8c171fe6f54bbbf9c750f1465ef80a | |
| parent | 1b19e2c0baedb959650a27f25bd8537bd51d60b0 (diff) | |
Remove thread dumping constant that requires newer Platform SDK
Since we're not multithreaded it only provides marginally useful
information, and it does require a newer version of the Platform SDK
than we target. We may want to reconsider this in the future along
with a fix for MinGW.
| -rw-r--r-- | src/backend/port/win32/crashdump.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/backend/port/win32/crashdump.c b/src/backend/port/win32/crashdump.c index ba6fca75630..2f7c1b3ab66 100644 --- a/src/backend/port/win32/crashdump.c +++ b/src/backend/port/win32/crashdump.c @@ -132,11 +132,6 @@ crashDumpHandler(struct _EXCEPTION_POINTERS *pExceptionInfo) dumpType |= MiniDumpWithIndirectlyReferencedMemory | MiniDumpWithPrivateReadWriteMemory; } - if (GetProcAddress(hDll, "SymFromIndex") != NULL) - { - /* If this function exists, we have version 6.2 or newer */ - dumpType |= MiniDumpWithThreadInfo; - } systemTicks = GetTickCount(); snprintf(dumpPath, _MAX_PATH, |
