[vbox-dev] PATCH: Setting registers in VirtualBox debugger [MIT license]
ivan at shcherbakov.info
Sun Aug 12 13:32:01 PDT 2012
I am working on a GDB stub that will create a bridge between GDB and
the VirtualBox debugger interface. When I was doing basic tests, I've
noticed that VirtualBox does not support setting registers from the
VMMR3DECL(int) DBGFR3RegNmSet(PVM pVM, VMCPUID idDefCpu, const char *pszReg, PCDBGFREGVAL pValue, DBGFREGVALTYPE enmType)
I have implemented the function based on the dbgfR3RegCpuQueryWorker()
function and tested it via a debugger plugin.
I have attached a patch available under the MIT license. Please
let me know if I need to change anything before the patch can be
included in the main repository.
The patch also fixes a bug in dbgcHlpVarToNumber() (*pu64Number is not
changed for DBGCVAR_TYPE_NUMBER).
Ivan Shcherbakov mailto:ivan at shcherbakov.info
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4100 bytes
Desc: not available
Url : http://www.virtualbox.org/pipermail/vbox-dev/attachments/20120812/0a5155b5/attachment-0001.obj
More information about the vbox-dev