Skip to content
Snippets Groups Projects
Verified Commit 11376928 authored by jD91mZM2's avatar jD91mZM2
Browse files

WIP(ptrace): Allow setting RIP

parent a7da393c
No related branches found
No related tags found
1 merge request!106Drive ptrace into a wall, prepare for overhaul
...@@ -280,8 +280,8 @@ impl InterruptStack { ...@@ -280,8 +280,8 @@ impl InterruptStack {
self.scratch.rdx = all.rdx; self.scratch.rdx = all.rdx;
self.scratch.rcx = all.rcx; self.scratch.rcx = all.rcx;
self.scratch.rax = all.rax; self.scratch.rax = all.rax;
// self.iret.rip = all.rip; self.iret.rip = all.rip;
// self.iret.cs = all.cs; self.iret.cs = all.cs;
// self.iret.rflags = all.eflags; // self.iret.rflags = all.eflags;
} }
/// Enables the "Trap Flag" in the FLAGS register, causing the CPU /// Enables the "Trap Flag" in the FLAGS register, causing the CPU
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment