WIP(ptrace): Allow setting RIP
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user