/* $Id$ */
/** @file
* EM - Execution Monitor / Manager, Debugger Related Bits.
*/
/*
* Copyright (C) 2006-2013 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
/*******************************************************************************
* Header Files *
*******************************************************************************/
#include "EMInternal.h"
/** @callback_method_impl{FNDBGCCMD,
* Implements the '.alliem' command. }
*/
static DECLCALLBACK(int) enmR3DbgCmdAllIem(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, PUVM pUVM, PCDBGCVAR paArgs, unsigned cArgs)
{
int rc;
bool f;
if (cArgs == 0)
{
if (RT_FAILURE(rc))
}
else
{
if (RT_FAILURE(rc))
if (RT_FAILURE(rc))
return DBGCCmdHlpFailRc(pCmdHlp, pCmd, rc, "EMR3SetExecutionPolicy(,EMEXECPOLICY_IEM_ALL,%RTbool)", f);
}
return VINF_SUCCESS;
}
/** Describes a optional boolean argument. */
/** Commands. */
{
{
"Enables or disabled executing ALL code in IEM, if no arguments are given it displays the current status."
},
};
{
return rc;
}