WIP(ptrace): Allow setting RIP

This commit is contained in:
jD91mZM2
2019-07-23 19:55:11 +02:00
parent a7da393cf5
commit 1137692809

View File

@@ -280,8 +280,8 @@ impl InterruptStack {
self.scratch.rdx = all.rdx;
self.scratch.rcx = all.rcx;
self.scratch.rax = all.rax;
// self.iret.rip = all.rip;
// self.iret.cs = all.cs;
self.iret.rip = all.rip;
self.iret.cs = all.cs;
// self.iret.rflags = all.eflags;
}
/// Enables the "Trap Flag" in the FLAGS register, causing the CPU