VirtualBox

Changeset 23060 in vbox for trunk/src


Ignore:
Timestamp:
Sep 16, 2009 11:25:23 AM (15 years ago)
Author:
vboxsync
Message:

More verbose assertion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r22890 r23060  
    14131413{
    14141414    unsigned cErrors = 0;
     1415    int LastRc;
     1416    unsigned LastPTE;
     1417    RTHCPHYS LastHCPhys;
     1418
    14151419#ifdef VBOX_STRICT
    14161420    for (unsigned i = 0; i < RT_MIN(RT_ELEMENTS(pShwPT->a), pPage->iFirstPresent); i++)
     
    14281432                RTHCPHYS HCPhysPT = -1;
    14291433                Log(("rc=%d idx=%d guest %RX64 shw=%RX64 vs %RHp\n", rc, i, pGstPT->a[i].u, pShwPT->a[i].u, HCPhys));
     1434                LastPTE     = i;
     1435                LastRc      = rc;
     1436                LastHCPhys  = HCPhys;
    14301437                cErrors++;
    14311438
     
    14551462        }
    14561463    }
    1457     Assert(!cErrors);
     1464    AssertMsg(!cErrors, ("cErrors=%d: last rc=%d idx=%d guest %RX64 shw=%RX64 vs %RHp\n", cErrors, LastRc, LastPTE, pGstPT->a[LastPTE].u, pShwPT->a[LastPTE].u, LastHCPhys));
    14581465}
    14591466#  endif /* VBOX_STRICT */
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