MachineDebuggerImpl.h revision 7cdbdf820361f32367c876c319a25a163734a53f
/* $Id$ */
/** @file
*
* VirtualBox COM class implementation
*/
/*
* Copyright (C) 2006-2008 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.
*/
#ifndef ____H_MACHINEDEBUGGER
#define ____H_MACHINEDEBUGGER
#include "VirtualBoxBase.h"
{
void FinalRelease();
// public initializer/uninitializer for internal purposes only
void uninit();
// IMachineDebugger properties
// IMachineDebugger methods
STDMETHOD(ReadVirtualMemory)(ULONG a_idCpu, LONG64 a_Address, ULONG a_cbRead, ComSafeArrayOut(BYTE, a_abData));
STDMETHOD(WriteVirtualMemory)(ULONG a_idCpu, LONG64 a_Address, ULONG a_cbRead, ComSafeArrayIn(BYTE, a_abData));
STDMETHOD(GetRegisters)(ULONG a_idCpu, ComSafeArrayOut(BSTR, a_bstrNames), ComSafeArrayOut(BSTR, a_bstrValues));
STDMETHOD(SetRegisters)(ULONG a_idCpu, ComSafeArrayIn(IN_BSTR, a_bstrNames), ComSafeArrayIn(IN_BSTR, a_bstrValues));
// "public-private methods"
void flushQueuedSettings();
// private methods
bool queueSettings() const;
// flags whether settings have been queued because
// they could not be sent to the VM (not up yet, etc.)
int mSinglestepQueued;
int mRecompileUserQueued;
int mPatmEnabledQueued;
int mCsamEnabledQueued;
int mLogEnabledQueued;
bool mFlushMode;
};
#endif /* ____H_MACHINEDEBUGGER */
/* vi: set tabstop=4 shiftwidth=4 expandtab: */