vbox: enable dumping GuruMeditations messages

This typically is a sign that something went terribly wrong. The information
may help to debug issues.

Issue #1343
This commit is contained in:
Alexander Boettcher 2014-12-19 16:47:10 +01:00 committed by Christian Helmuth
parent e8d1d6e87c
commit ee996d2280
3 changed files with 13 additions and 2 deletions

View File

@ -55,6 +55,8 @@ SRC_CC += VMM/VMMAll/SELMAll.cpp
SRC_CC += VMM/VMMAll/REMAll.cpp SRC_CC += VMM/VMMAll/REMAll.cpp
SRC_CC += VMM/VMMR3/VMMGuruMeditation.cpp
CC_OPT += -DVBOX_IN_VMM CC_OPT += -DVBOX_IN_VMM
# definitions needed by SSM.cpp # definitions needed by SSM.cpp

View File

@ -101,6 +101,12 @@ int DBGFR3RegRegisterDevice(PVM, PCDBGFREGDESC, PPDMDEVINS, const char*,
int DBGFR3AsSymbolByAddr(PUVM, RTDBGAS, PCDBGFADDRESS, uint32_t, PRTGCINTPTR, int DBGFR3AsSymbolByAddr(PUVM, RTDBGAS, PCDBGFADDRESS, uint32_t, PRTGCINTPTR,
PRTDBGSYMBOL, PRTDBGMOD) TRACE(VERR_INVALID_HANDLE) PRTDBGSYMBOL, PRTDBGMOD) TRACE(VERR_INVALID_HANDLE)
int DBGFR3Term(PVM) TRACE(VINF_SUCCESS) int DBGFR3Term(PVM) TRACE(VINF_SUCCESS)
int DBGFR3Event(PVM pVM, DBGFEVENTTYPE enmEvent)
{
PDBG("%u", enmEvent);
TRACE(VERR_NOT_SUPPORTED)
}
/* called by 'VMMR3InitRC', but we don't use GC */ /* called by 'VMMR3InitRC', but we don't use GC */

View File

@ -28,13 +28,16 @@ DUMMY(RTErrCOMGet)
DUMMY(DBGFR3CoreWrite) DUMMY(DBGFR3CoreWrite)
DUMMY(DBGCRegisterCommands) DUMMY(DBGCRegisterCommands)
DUMMY(DBGFR3Event)
DUMMY(DBGFR3EventAssertion) DUMMY(DBGFR3EventAssertion)
DUMMY(DBGFR3EventBreakpoint) DUMMY(DBGFR3EventBreakpoint)
DUMMY(DBGFR3EventSrc) DUMMY(DBGFR3EventSrc)
DUMMY(DBGFR3VMMForcedAction) DUMMY(DBGFR3VMMForcedAction)
DUMMY(DBGFR3DisasInstrEx) DUMMY(DBGFR3DisasInstrEx)
DUMMY(DBGFR3DisasInstrCurrentLogInternal) DUMMY(DBGFR3DisasInstrCurrentLogInternal)
DUMMY(DBGFR3StackWalkBegin)
DUMMY(DBGFR3StackWalkBeginEx)
DUMMY(DBGFR3StackWalkNext)
DUMMY(DBGFR3StackWalkEnd)
DUMMY(HMInvalidatePage) DUMMY(HMInvalidatePage)
DUMMY(HMFlushTLB) DUMMY(HMFlushTLB)
@ -58,6 +61,7 @@ DUMMY(MMR3HeapAPrintfV)
DUMMY(MMR3LockCall) DUMMY(MMR3LockCall)
DUMMY(PDMR3AsyncCompletionTemplateCreateDriver) DUMMY(PDMR3AsyncCompletionTemplateCreateDriver)
DUMMY(PDMR3LdrGetInterfaceSymbols) DUMMY(PDMR3LdrGetInterfaceSymbols)
DUMMY(PDMR3LdrQueryRCModFromPC)
DUMMY(PDMCritSectBothFF) DUMMY(PDMCritSectBothFF)
DUMMY(PGMNotifyNxeChanged) DUMMY(PGMNotifyNxeChanged)
@ -134,7 +138,6 @@ DUMMY(SUPR3HardenedLdrLoadPlugIn)
DUMMY(SUPSemEventMultiWaitNoResume) DUMMY(SUPSemEventMultiWaitNoResume)
DUMMY(SUPSemEventMultiReset) DUMMY(SUPSemEventMultiReset)
DUMMY(VMMR3FatalDump)
DUMMY(VMMR3GetHostToGuestSwitcher) DUMMY(VMMR3GetHostToGuestSwitcher)
DUMMY(RTHeapSimpleRelocate) DUMMY(RTHeapSimpleRelocate)