proc: load more registers

Adds ability to load x87, SSE and AVX registers.

Fixes #666
This commit is contained in:
aarzilli
2016-11-15 17:16:33 +01:00
parent 63b8fa8269
commit 8f0646e426
29 changed files with 701 additions and 92 deletions

View File

@ -316,7 +316,7 @@ func (dbp *Process) setInternalBreakpoints(curpc uint64, pcs []uint64, kind Brea
// SetPC sets the PC for this thread.
func (thread *Thread) SetPC(pc uint64) error {
regs, err := thread.Registers()
regs, err := thread.Registers(false)
if err != nil {
return err
}
@ -324,7 +324,7 @@ func (thread *Thread) SetPC(pc uint64) error {
}
func (thread *Thread) getGVariable() (*Variable, error) {
regs, err := thread.Registers()
regs, err := thread.Registers(false)
if err != nil {
return nil, err
}