Commit b32db69d authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

winedump: Update minidump output.

parent 861106c7
...@@ -290,6 +290,12 @@ void mdmp_dump(void) ...@@ -290,6 +290,12 @@ void mdmp_dump(void)
case PROCESSOR_ARCHITECTURE_AMD64: case PROCESSOR_ARCHITECTURE_AMD64:
str = "X86_64"; str = "X86_64";
break; break;
case PROCESSOR_ARCHITECTURE_MSIL:
str = "MSIL";
break;
case PROCESSOR_ARCHITECTURE_NEUTRAL:
str = "Neutral";
break;
default: default:
str = "???"; str = "???";
break; break;
...@@ -310,7 +316,7 @@ void mdmp_dump(void) ...@@ -310,7 +316,7 @@ void mdmp_dump(void)
case 0: str = (msi->PlatformId == VER_PLATFORM_WIN32_NT) ? "NT 4.0" : "95"; break; case 0: str = (msi->PlatformId == VER_PLATFORM_WIN32_NT) ? "NT 4.0" : "95"; break;
case 10: str = "98"; break; case 10: str = "98"; break;
case 90: str = "ME"; break; case 90: str = "ME"; break;
default: str = "5-????"; break; default: str = "4-????"; break;
} }
break; break;
case 5: case 5:
...@@ -318,9 +324,29 @@ void mdmp_dump(void) ...@@ -318,9 +324,29 @@ void mdmp_dump(void)
{ {
case 0: str = "2000"; break; case 0: str = "2000"; break;
case 1: str = "XP"; break; case 1: str = "XP"; break;
case 2: str = "Server 2003"; break; case 2:
if (msi->u.s.ProductType == 1) str = "XP";
else if (msi->u.s.ProductType == 3) str = "Server 2003";
else str = "5-????";
break;
default: str = "5-????"; break; default: str = "5-????"; break;
} }
case 6:
switch (msi->MinorVersion)
{
case 0:
if (msi->u.s.ProductType == 1) str = "Vista";
else if (msi->u.s.ProductType == 3) str = "Server 2008";
else str = "6-????";
break;
case 1:
if (msi->u.s.ProductType == 1) str = "Win7";
else if (msi->u.s.ProductType == 3) str = "Server 2008";
else str = "6-????";
break;
case 2: str = "Win8"; break;
default: str = "6-????"; break;
}
break; break;
default: str = "???"; break; default: str = "???"; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment