diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/mkbindist.bat | 4 | ||||
| -rw-r--r-- | tools/windbg/initcmds | 5 | ||||
| -rw-r--r-- | tools/windbg/windbg.bat | 2 |
3 files changed, 7 insertions, 4 deletions
diff --git a/tools/mkbindist.bat b/tools/mkbindist.bat index 87bd24f..00d49c3 100644 --- a/tools/mkbindist.bat +++ b/tools/mkbindist.bat @@ -21,8 +21,8 @@ md TEMP-%name% || goto :end copy sst.dll TEMP-%name%\sst.dll || goto :end
copy dist\LICENCE.windows TEMP-%name%\LICENCE || goto :end
:: using midnight on release day to make zip deterministic! change on next release!
-powershell (Get-Item TEMP-%name%\sst.dll).LastWriteTime = new-object DateTime 2025, 6, 1, 0, 0, 0
-powershell (Get-Item TEMP-%name%\LICENCE).LastWriteTime = new-object DateTime 2025, 6, 1, 0, 0, 0
+powershell (Get-Item TEMP-%name%\sst.dll).LastWriteTime = new-object DateTime 2025, 12, 1, 0, 0, 0
+powershell (Get-Item TEMP-%name%\LICENCE).LastWriteTime = new-object DateTime 2025, 12, 1, 0, 0, 0
pushd TEMP-%name%
"%SEVENZIP%" a -mtc=off %name%.zip sst.dll LICENCE || goto :end
move %name%.zip ..\release\%name%.zip
diff --git a/tools/windbg/initcmds b/tools/windbg/initcmds index fe0f62f..4fa517e 100644 --- a/tools/windbg/initcmds +++ b/tools/windbg/initcmds @@ -2,5 +2,8 @@ $$ Emulate Source Thread Fix for high-core-count systems by breaking on $$ GetSystemInfo, grabbing the struct pointer from the stack, then fiddling -$$ with its contents upon returning to the caller. +$$ with its contents upon returning. bp kernelbase!GetSystemInfo "dx @$t1 = *(void **)(@esp + 4); bp /1 @$ra \"dx @$t2 = ((_SYSTEM_INFO *)@$t1)->dwNumberOfProcessors; dx ((_SYSTEM_INFO *)@$t1)->dwNumberOfProcessors = @$t2 > 24 ? 24 : @$t2; g\"; g" + +$$ Initial breakpoint was used to run the above commands. Now we can go ahead. +g diff --git a/tools/windbg/windbg.bat b/tools/windbg/windbg.bat index 11cf29c..2d2e6d2 100644 --- a/tools/windbg/windbg.bat +++ b/tools/windbg/windbg.bat @@ -8,7 +8,7 @@ if exist tools\windbg\bin\DbgX.Shell.exe goto :ok powershell tools\windbg\install.ps1 || goto :end
:ok
-%WINDBG_BIN%\DbgX.Shell.exe /g /c $^<tools\windbg\initcmds
+%WINDBG_BIN%\DbgX.Shell.exe /c $^<tools\windbg\initcmds
:end
exit /b %errorlevel%
|
