Changeset 45440 in vbox
- Timestamp:
- Apr 9, 2013 2:53:28 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Runtime/r0drv/nt/ntBldSymDb.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/nt/ntBldSymDb.cpp
r45438 r45440 723 723 * SMP or UNI kernel? 724 724 */ 725 if (!RTStrICmp(pszFilename, "ntkrnlmp.pdb")) 725 if ( !RTStrICmp(pszFilename, "ntkrnlmp.pdb") 726 || !RTStrICmp(pszFilename, "ntkrpamp.pdb") 727 ) 726 728 pVerInfo->fSmp = true; 727 else if (!RTStrICmp(pszFilename, "ntoskrnl.pdb")) 729 else if ( !RTStrICmp(pszFilename, "ntoskrnl.pdb") 730 || !RTStrICmp(pszFilename, "ntkrnlpa.pdb") 731 ) 728 732 pVerInfo->fSmp = false; 729 733 else … … 993 997 RT_STR_TUPLE("ntkrnlmp.dbg"), 994 998 RT_STR_TUPLE("ntkrnlmp.pdb"), 999 RT_STR_TUPLE("ntkrnlpa.pdb"), 1000 RT_STR_TUPLE("ntkrnlpa.dbg"), 1001 RT_STR_TUPLE("ntkrpamp.pdb"), 1002 RT_STR_TUPLE("ntkrpamp.dbg"), 995 1003 }; 996 int i = RT_ELEMENTS(s_aNames); 997 while (i-- > 0) 998 if ( s_aNames[i].cch == pDirEntry->cbName 999 && !RTStrICmp(s_aNames[i].psz, pDirEntry->szName)) 1000 { 1001 /* 1002 * Found debug info file of interest, process it. 1003 */ 1004 memcpy(&pszDir[cchDir], pDirEntry->szName, pDirEntry->cbName + 1); 1005 RTEXITCODE rcExit2 = processPdb(pszDir); 1006 if (rcExit2 != RTEXITCODE_SUCCESS) 1007 rcExit = rcExit2; 1008 break; 1009 } 1004 if ( pDirEntry->cbName == sizeof("ntkrpamp.dbg") - 1 1005 && (pDirEntry->szName[0] == 'n' || pDirEntry->szName[0] == 'N') 1006 && (pDirEntry->szName[1] == 't' || pDirEntry->szName[1] == 'T') 1007 ) 1008 { 1009 int i = RT_ELEMENTS(s_aNames); 1010 while (i-- > 0) 1011 if ( s_aNames[i].cch == pDirEntry->cbName 1012 && !RTStrICmp(s_aNames[i].psz, pDirEntry->szName)) 1013 { 1014 /* 1015 * Found debug info file of interest, process it. 1016 */ 1017 memcpy(&pszDir[cchDir], pDirEntry->szName, pDirEntry->cbName + 1); 1018 RTEXITCODE rcExit2 = processPdb(pszDir); 1019 if (rcExit2 != RTEXITCODE_SUCCESS) 1020 rcExit = rcExit2; 1021 break; 1022 } 1023 } 1010 1024 } 1011 1025 else if (RTFS_IS_DIRECTORY(pDirEntry->Info.Attr.fMode))
Note:
See TracChangeset
for help on using the changeset viewer.

