VirtualBox

Changeset 45440 in vbox


Ignore:
Timestamp:
Apr 9, 2013 2:53:28 PM (11 years ago)
Author:
vboxsync
Message:

ntBldSymDb.cpp: PAE kernel names.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/nt/ntBldSymDb.cpp

    r45438 r45440  
    723723     * SMP or UNI kernel?
    724724     */
    725     if (!RTStrICmp(pszFilename, "ntkrnlmp.pdb"))
     725    if (   !RTStrICmp(pszFilename, "ntkrnlmp.pdb")
     726        || !RTStrICmp(pszFilename, "ntkrpamp.pdb")
     727       )
    726728        pVerInfo->fSmp = true;
    727     else if (!RTStrICmp(pszFilename, "ntoskrnl.pdb"))
     729    else if (   !RTStrICmp(pszFilename, "ntoskrnl.pdb")
     730             || !RTStrICmp(pszFilename, "ntkrnlpa.pdb")
     731            )
    728732        pVerInfo->fSmp = false;
    729733    else
     
    993997                RT_STR_TUPLE("ntkrnlmp.dbg"),
    994998                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"),
    9951003            };
    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            }
    10101024        }
    10111025        else if (RTFS_IS_DIRECTORY(pDirEntry->Info.Attr.fMode))
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