VirtualBox

Changeset 33877 in vbox


Ignore:
Timestamp:
Nov 8, 2010 9:45:46 PM (14 years ago)
Author:
vboxsync
Message:

PDMLdr.cpp: log RC load failure better in release builds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PDMLdr.cpp

    r33540 r33877  
    376376        }
    377377        if (RT_SUCCESS(rc) || pszModule)
     378        {
     379            if (RT_FAILURE(rc))
     380                LogRel(("PDMLdr: Couldn't find symbol '%s' in module '%s'!\n", pszSymbol, pszModule));
    378381            return rc;
     382        }
    379383    }
    380384
     
    406410            {
    407411                RTCritSectLeave(&pUVM->pdm.s.ListCritSect);
    408                 AssertMsgFailed(("Couldn't find symbol '%s' in module '%s'!\n", pszSymbol, pszModule));
    409                 LogRel(("PDMLdr: Couldn't find symbol '%s' in module '%s'!\n", pszSymbol, pszModule));
     412                AssertLogRelMsgFailed(("PDMLdr: Couldn't find symbol '%s' in module '%s'!\n", pszSymbol, pszModule));
    410413                return VERR_SYMBOL_NOT_FOUND;
    411414            }
     
    417420
    418421    RTCritSectLeave(&pUVM->pdm.s.ListCritSect);
    419     AssertMsgFailed(("Couldn't find module '%s' for resolving symbol '%s'!\n", pszModule, pszSymbol));
     422    AssertLogRelMsgFailed(("Couldn't find module '%s' for resolving symbol '%s'!\n", pszModule, pszSymbol));
    420423    return VERR_SYMBOL_NOT_FOUND;
    421424}
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