mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
LibDebug: Make single-stepping work for x86_64
This commit is contained in:
committed by
Andreas Kling
parent
594903742b
commit
f87cc85cd3
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user