OSDN Git Service

Remove thread dumping constant that requires newer Platform SDK
authorMagnus Hagander <magnus@hagander.net>
Sun, 19 Dec 2010 20:31:23 +0000 (21:31 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sun, 19 Dec 2010 20:32:58 +0000 (21:32 +0100)
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.

src/backend/port/win32/crashdump.c

index ba6fca7..2f7c1b3 100644 (file)
@@ -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,