VirtualBox

Changeset 85418 in vbox for trunk/src


Ignore:
Timestamp:
Jul 22, 2020 4:21:21 PM (4 years ago)
Author:
vboxsync
Message:

VMM/DBGFMem: Allow DBGFR3PagingDumpEx() pHlp to be NULL as allowed to according to the doxygen comment above and use the dump to debug log helper for these cases

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/DBGFMem.cpp

    r82968 r85418  
    632632                 || !(fFlags & (DBGFPGDMP_FLAGS_LME | DBGFPGDMP_FLAGS_PAE | DBGFPGDMP_FLAGS_PSE | DBGFPGDMP_FLAGS_NXE))
    633633                 , VERR_INVALID_PARAMETER);
    634     AssertPtrReturn(pHlp, VERR_INVALID_POINTER);
    635634    AssertReturn(cMaxDepth, VERR_INVALID_PARAMETER);
    636635
     
    639638     */
    640639    return VMR3ReqPriorityCallWaitU(pUVM, idCpu, (PFNRT)dbgfR3PagingDumpEx, 8,
    641                                     pUVM, idCpu, fFlags, &cr3, &u64FirstAddr, &u64LastAddr, cMaxDepth, pHlp);
    642 }
    643 
     640                                    pUVM, idCpu, fFlags, &cr3, &u64FirstAddr, &u64LastAddr, cMaxDepth, pHlp ? pHlp : DBGFR3InfoLogHlp());
     641}
     642
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