VirtualBox

Changeset 87406 in vbox for trunk/tools


Ignore:
Timestamp:
Jan 24, 2021 4:52:50 PM (4 years ago)
Author:
vboxsync
Message:

tools/envSub.vbs: Fixed code looking for windbg.exe.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/envSub.vbs

    r86348 r87406  
    4242
    4343
    44 '' Proforma. Does nothing here.
    4544sub LogPrint(str)
    4645   if g_cntVerbose > 1 then
     46      WScript.StdErr.WriteLine "debug: " & str
     47   end if
     48end sub
     49
     50sub DbgPrint(str)
     51   if g_cntVerbose > 2 then
    4752      WScript.StdErr.WriteLine "debug: " & str
    4853   end if
     
    255260      bldExitLoop = false
    256261      for each str1 in arrArchitectures
    257          for each strDir in GetSubdirsStartingWithRVerSorted(strPathDevTools & "\win." & str1 & "\sdk", "v")
    258             if FileExists(strWinDbgDir & "\Debuggers\" & XlateArchitectureToWin(strHostArch) & "\windbg.exe") then
    259                EnvPrependPathItem "Path", DosSlashes(strWinDbgDir & "\Debuggers\" & XlateArchitectureToWin(strHostArch)), ";"
     262         strDir = strPathDevTools & "\win." & str1 & "\sdk"
     263         for each strSubDir in GetSubdirsStartingWithRVerSorted(strDir, "v")
     264            if FileExists(strDir & "\" & strSubDir & "\Debuggers\" & XlateArchitectureToWin(strHostArch) & "\windbg.exe") then
     265               EnvPrependPathItem "Path", DosSlashes(strDir & "\" & strSubDir & "\Debuggers\" & XlateArchitectureToWin(strHostArch)), ";"
    260266               bldExitLoop = true
    261267               exit for
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette