Vendor symchk script directly into ToolsY
This commit is contained in:
parent
d3bb928726
commit
5aab09dc2f
@ -2,18 +2,12 @@
|
|||||||
set dest_dir="%~dp0Windows_Symbols_PDBs"
|
set dest_dir="%~dp0Windows_Symbols_PDBs"
|
||||||
set symchk="C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\symchk.exe"
|
set symchk="C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\symchk.exe"
|
||||||
|
|
||||||
if "%~1"=="" goto :usage
|
|
||||||
|
|
||||||
if not exist %symchk% (
|
if not exist %symchk% (
|
||||||
echo Symchk binary not found but is required to run script [path=%symchk%]
|
echo Symchk binary not found but is required to run script [path=%symchk%]
|
||||||
exit /b 1
|
exit /b 1
|
||||||
)
|
)
|
||||||
goto :eof
|
|
||||||
|
|
||||||
if not exist %dest_dir% mkdir %dest_dir%
|
if not exist %dest_dir% mkdir %dest_dir%
|
||||||
echo Downloading to %dest_dir% with %symchk%
|
echo Downloading to %dest_dir% with %symchk%
|
||||||
%symchk% /r "%1" /s srv*%dest_dir%*https://msdl.microsoft.com/download/symbols
|
%symchk% /r C:\Windows /s srv*%dest_dir%*https://msdl.microsoft.com/download/symbols
|
||||||
goto :eof
|
goto :eof
|
||||||
|
|
||||||
:usage
|
|
||||||
echo Usage: download_windows_symbol_pdb.bat executable_to_check
|
|
@ -462,7 +462,6 @@ call :CopyAndAlwaysOverwriteFile "!install_dir!\win32_ctags.exe" "!bin_dir!\ctag
|
|||||||
call :CopyAndAlwaysOverwriteFile "!install_dir!\win32_scanmapset.exe" "!bin_dir!\scanmapset.exe" || exit /B
|
call :CopyAndAlwaysOverwriteFile "!install_dir!\win32_scanmapset.exe" "!bin_dir!\scanmapset.exe" || exit /B
|
||||||
call :CopyAndAlwaysOverwriteFile "!install_dir!\win32_uncap.exe" "!bin_dir!\uncap.exe" || exit /B
|
call :CopyAndAlwaysOverwriteFile "!install_dir!\win32_uncap.exe" "!bin_dir!\uncap.exe" || exit /B
|
||||||
call :CopyAndAlwaysOverwriteFile "!install_dir!\clang_format_style_file" "!home_dir!\_clang-format" || exit /B
|
call :CopyAndAlwaysOverwriteFile "!install_dir!\clang_format_style_file" "!home_dir!\_clang-format" || exit /B
|
||||||
call :CopyAndAlwaysOverwriteFile "!install_dir!\win32_download_windows_symbols_pdb.bat" "!bin_dir!\download_windows_symbols_pdb.bat" || exit /B
|
|
||||||
|
|
||||||
REM ------------------------------------------------------------------------
|
REM ------------------------------------------------------------------------
|
||||||
REM MobaXTerm
|
REM MobaXTerm
|
||||||
|
Loading…
Reference in New Issue
Block a user