mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:18:13 +00:00
LibDebug: Make single-stepping work for x86_64
This commit is contained in:
parent
594903742b
commit
f87cc85cd3
1 changed files with 1 additions and 5 deletions
|
@ -345,11 +345,7 @@ void* DebugSession::single_step()
|
|||
regs.rflags &= ~(TRAP_FLAG);
|
||||
#endif
|
||||
set_registers(regs);
|
||||
#if ARCH(I386)
|
||||
return (void*)regs.eip;
|
||||
#else
|
||||
TODO();
|
||||
#endif
|
||||
return (void*)regs.ip();
|
||||
}
|
||||
|
||||
void DebugSession::detach()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue