DBGPlugInDiggers.cpp revision a33af978add1a03aab11b2895f441af5cb2a11a6
/* $Id$ */
/** @file
* DBGPlugInDiggers - Debugger and Guest OS Digger Plug-in.
*/
/*
* Copyright (C) 2006-2007 Oracle Corporation
*
* Oracle Corporation confidential
* All rights reserved
*/
/*******************************************************************************
* Header Files *
*******************************************************************************/
#define LOG_GROUP LOG_GROUP_DBGC
#include "DBGPlugIns.h"
{
static PCDBGFOSREG s_aPlugIns[] =
{
//&g_DBGDiggerFreeBSD,
//&g_DBGDiggerOS2,
};
switch (enmOperation)
{
case DBGCPLUGINOP_INIT:
{
if (uArg != VBOX_VERSION)
return VERR_VERSION_MISMATCH;
for (unsigned i = 0; i < RT_ELEMENTS(s_aPlugIns); i++)
{
if (RT_FAILURE(rc))
{
while (i-- > 0)
return rc;
}
}
return VINF_SUCCESS;
}
case DBGCPLUGINOP_TERM:
{
for (unsigned i = 0; i < RT_ELEMENTS(s_aPlugIns); i++)
{
}
return VINF_SUCCESS;
}
default:
return VERR_NOT_SUPPORTED;
}
}