VirtualBox

Changeset 35250 in vbox


Ignore:
Timestamp:
Dec 20, 2010 4:10:30 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69097
Message:

IMachineDebugger: More methods and attribute stubs that may come in useful.

Location:
trunk/src/VBox/Main
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/MachineDebuggerImpl.cpp

    r35242 r35250  
    454454}
    455455
     456STDMETHODIMP MachineDebugger::COMGETTER(LogFlags)(BSTR *a_pbstrSettings)
     457{
     458    ReturnComNotImplemented();
     459}
     460
     461STDMETHODIMP MachineDebugger::COMGETTER(LogGroups)(BSTR *a_pbstrSettings)
     462{
     463    ReturnComNotImplemented();
     464}
     465
     466STDMETHODIMP MachineDebugger::COMGETTER(LogDestinations)(BSTR *a_pbstrSettings)
     467{
     468    ReturnComNotImplemented();
     469}
     470
    456471/**
    457472 * Returns the current hardware virtualization flag.
     
    527542
    528543    return S_OK;
     544}
     545
     546STDMETHODIMP MachineDebugger::COMGETTER(OSName)(BSTR *a_pbstrName)
     547{
     548    ReturnComNotImplemented();
     549}
     550
     551STDMETHODIMP MachineDebugger::COMGETTER(OSVersion)(BSTR *a_pbstrVersion)
     552{
     553    ReturnComNotImplemented();
    529554}
    530555
     
    711736}
    712737
     738STDMETHODIMP MachineDebugger::ModifyLogFlags(IN_BSTR a_bstrSettings)
     739{
     740    ReturnComNotImplemented();
     741}
     742
     743STDMETHODIMP MachineDebugger::ModifyLogGroups(IN_BSTR a_bstrSettings)
     744{
     745    ReturnComNotImplemented();
     746}
     747
     748STDMETHODIMP MachineDebugger::ModifyLogDestinations(IN_BSTR a_bstrSettings)
     749{
     750    ReturnComNotImplemented();
     751}
     752
    713753STDMETHODIMP MachineDebugger::ReadPhysicalMemory(LONG64 a_Address, ULONG a_cbRead, ComSafeArrayOut(BYTE, a_abData))
    714754{
     
    731771}
    732772
     773STDMETHODIMP MachineDebugger::DetectOS(BSTR *a_pbstrName)
     774{
     775    ReturnComNotImplemented();
     776}
     777
    733778STDMETHODIMP MachineDebugger::GetRegister(ULONG a_idCpu, IN_BSTR a_bstrName, BSTR *a_pbstrValue)
    734779{
     
    747792
    748793STDMETHODIMP MachineDebugger::SetRegisters(ULONG a_idCpu, ComSafeArrayIn(IN_BSTR, a_bstrNames), ComSafeArrayIn(IN_BSTR, a_bstrValues))
     794{
     795    ReturnComNotImplemented();
     796}
     797
     798STDMETHODIMP MachineDebugger::DumpGuestStack(ULONG a_idCpu, BSTR *a_pbstrStack)
    749799{
    750800    ReturnComNotImplemented();
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r35245 r35250  
    1188911889  <interface
    1189011890    name="IMachineDebugger" extends="$unknown"
    11891     uuid="b1fd749c-e471-4ae3-863f-54b4f787cdef"
     11891    uuid="1bfd2fa9-0d91-44d3-9515-368dcbb3eb4d"
    1189211892    wsmap="suppress"
    1189311893    >
     
    1195911959    </method>
    1196011960
    11961     <method name="readPhysicalMemory">
    11962       <desc>
    11963         Reads guest physical memory, no side effects (MMIO++).
     11961    <method name="modifyLogGroups">
     11962      <desc>
     11963        Modifies the group settings of the debug logger.
    1196411964
    1196511965        This feature is not implemented in the 4.0.0 release but may show up
    1196611966        in a dot release.
    1196711967      </desc>
     11968      <param name="settings" type="wstring" dir="in">
     11969        <desc>The group settings string. See iprt/log.h for details.</desc>
     11970      </param>
     11971    </method>
     11972
     11973    <method name="modifyLogFlags">
     11974      <desc>
     11975        Modifies the debug logger flags.
     11976
     11977        This feature is not implemented in the 4.0.0 release but may show up
     11978        in a dot release.
     11979      </desc>
     11980      <param name="settings" type="wstring" dir="in">
     11981        <desc>The flags settings string. See iprt/log.h for details.</desc>
     11982      </param>
     11983    </method>
     11984
     11985    <method name="modifyLogDestinations">
     11986      <desc>
     11987        Modifies the debug logger destinations.
     11988
     11989        This feature is not implemented in the 4.0.0 release but may show up
     11990        in a dot release.
     11991      </desc>
     11992      <param name="settings" type="wstring" dir="in">
     11993        <desc>The destination settings string. See iprt/log.h for details.</desc>
     11994      </param>
     11995    </method>
     11996
     11997    <method name="readPhysicalMemory">
     11998      <desc>
     11999        Reads guest physical memory, no side effects (MMIO++).
     12000
     12001        This feature is not implemented in the 4.0.0 release but may show up
     12002        in a dot release.
     12003      </desc>
    1196812004      <param name="address" type="long long" dir="in">
    1196912005        <desc>The guest physical address.</desc>
     
    1203412070      <param name="bytes" type="octet" safearray="yes" dir="in">
    1203512071        <desc>The bytes to write.</desc>
     12072      </param>
     12073    </method>
     12074
     12075    <method name="detectOS">
     12076      <desc>
     12077        Tries to (re-)detect the guest OS kernel.
     12078
     12079        This feature is not implemented in the 4.0.0 release but may show up
     12080        in a dot release.
     12081      </desc>
     12082      <param name="os" type="wstring" dir="return">
     12083        <desc>
     12084          The detected OS kernel on success.
     12085        </desc>
    1203612086      </param>
    1203712087    </method>
     
    1212312173    </method>
    1212412174
     12175    <method name="dumpGuestStack">
     12176      <desc>
     12177        Produce a simple stack dump using the current guest state.
     12178
     12179        This feature is not implemented in the 4.0.0 release but may show up
     12180        in a dot release.
     12181      </desc>
     12182      <param name="cpuId" type="unsigned long" dir="in">
     12183        <desc>The identifier of the Virtual CPU.</desc>
     12184      </param>
     12185      <param name="stack" type="wstring" dir="return">
     12186        <desc>String containing the formatted stack dump.</desc>
     12187      </param>
     12188    </method>
     12189
    1212512190    <method name="resetStats">
    1212612191      <desc>
     
    1217712242
    1217812243    <attribute name="logEnabled" type="boolean">
    12179       <desc>Switch for enabling and disabling logging.</desc>
     12244      <desc>Switch for enabling and disabling the debug logger.</desc>
     12245    </attribute>
     12246
     12247    <attribute name="logFlags" type="wstring" readonly="yes">
     12248      <desc>The debug logger flags.</desc>
     12249    </attribute>
     12250
     12251    <attribute name="logGroups" type="wstring" readonly="yes">
     12252      <desc>The debug logger's group settings.</desc>
     12253    </attribute>
     12254
     12255    <attribute name="logDestinations" type="wstring" readonly="yes">
     12256      <desc>The debug logger's destination settings.</desc>
    1218012257    </attribute>
    1218112258
     
    1220112278    </attribute>
    1220212279
     12280    <attribute name="OSName" type="wstring" readonly="yes">
     12281      <desc>
     12282        Query the guest OS kernel name as detected by the DBGF.
     12283
     12284        This feature is not implemented in the 4.0.0 release but may show up
     12285        in a dot release.
     12286      </desc>
     12287    </attribute>
     12288
     12289    <attribute name="OSVersion" type="wstring" readonly="yes">
     12290      <desc>
     12291        Query the guest OS kernel version string as detected by the DBGF.
     12292
     12293        This feature is not implemented in the 4.0.0 release but may show up
     12294        in a dot release.
     12295      </desc>
     12296    </attribute>
     12297
    1220312298    <attribute name="PAEEnabled" type="boolean" readonly="yes">
    1220412299      <desc>
     
    1221412309      </desc>
    1221512310    </attribute>
    12216 
    12217     <!-- @todo method for setting log flags, groups and destination! -->
    1221812311
    1221912312    <attribute name="VM" type="long long" readonly="yes">
  • trunk/src/VBox/Main/include/MachineDebuggerImpl.h

    r35242 r35250  
    6565    STDMETHOD(COMGETTER(LogEnabled)) (BOOL *aEnabled);
    6666    STDMETHOD(COMSETTER(LogEnabled)) (BOOL aEnable);
     67    STDMETHOD(COMGETTER(LogFlags)) (BSTR *a_pbstrSettings);
     68    STDMETHOD(COMGETTER(LogGroups)) (BSTR *a_pbstrSettings);
     69    STDMETHOD(COMGETTER(LogDestinations)) (BSTR *a_pbstrSettings);
    6770    STDMETHOD(COMGETTER(HWVirtExEnabled)) (BOOL *aEnabled);
    6871    STDMETHOD(COMGETTER(HWVirtExNestedPagingEnabled)) (BOOL *aEnabled);
    6972    STDMETHOD(COMGETTER(HWVirtExVPIDEnabled)) (BOOL *aEnabled);
    7073    STDMETHOD(COMGETTER(PAEEnabled)) (BOOL *aEnabled);
     74    STDMETHOD(COMGETTER(OSName))(BSTR *a_pbstrName);
     75    STDMETHOD(COMGETTER(OSVersion))(BSTR *a_pbstrVersion);
    7176    STDMETHOD(COMGETTER(VirtualTimeRate)) (ULONG *aPct);
    7277    STDMETHOD(COMSETTER(VirtualTimeRate)) (ULONG aPct);
     
    7883    STDMETHOD(Info)(IN_BSTR a_bstrName, IN_BSTR a_bstrArgs, BSTR *a_bstrInfo);
    7984    STDMETHOD(InjectNMI)();
     85    STDMETHOD(ModifyLogFlags)(IN_BSTR a_bstrSettings);
     86    STDMETHOD(ModifyLogGroups)(IN_BSTR a_bstrSettings);
     87    STDMETHOD(ModifyLogDestinations)(IN_BSTR a_bstrSettings);
    8088    STDMETHOD(ReadPhysicalMemory)(LONG64 a_Address, ULONG a_cbRead, ComSafeArrayOut(BYTE, a_abData));
    8189    STDMETHOD(WritePhysicalMemory)(LONG64 a_Address, ULONG a_cbRead, ComSafeArrayIn(BYTE, a_abData));
    8290    STDMETHOD(ReadVirtualMemory)(ULONG a_idCpu, LONG64 a_Address, ULONG a_cbRead, ComSafeArrayOut(BYTE, a_abData));
    8391    STDMETHOD(WriteVirtualMemory)(ULONG a_idCpu, LONG64 a_Address, ULONG a_cbRead, ComSafeArrayIn(BYTE, a_abData));
     92    STDMETHOD(DetectOS)(BSTR *a_pbstrName);
    8493    STDMETHOD(GetRegister)(ULONG a_idCpu, IN_BSTR a_bstrName, BSTR *a_pbstrValue);
    8594    STDMETHOD(GetRegisters)(ULONG a_idCpu, ComSafeArrayOut(BSTR, a_bstrNames), ComSafeArrayOut(BSTR, a_bstrValues));
    8695    STDMETHOD(SetRegister)(ULONG a_idCpu, IN_BSTR a_bstrName, IN_BSTR a_bstrValue);
    8796    STDMETHOD(SetRegisters)(ULONG a_idCpu, ComSafeArrayIn(IN_BSTR, a_bstrNames), ComSafeArrayIn(IN_BSTR, a_bstrValues));
     97    STDMETHOD(DumpGuestStack)(ULONG a_idCpu, BSTR *a_pbstrStack);
    8898    STDMETHOD(ResetStats)(IN_BSTR aPattern);
    8999    STDMETHOD(DumpStats)(IN_BSTR aPattern);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette