mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 07:41:01 +00:00
LibDebug: Make single-stepping work for x86_64
This commit is contained in:
parent
594903742b
commit
f87cc85cd3
Notes:
sideshowbarker
2024-07-18 07:34:40 +09:00
Author: https://github.com/gunnarbeutner
Commit: f87cc85cd3
Pull-request: https://github.com/SerenityOS/serenity/pull/9171
1 changed files with 1 additions and 5 deletions
|
@ -345,11 +345,7 @@ void* DebugSession::single_step()
|
||||||
regs.rflags &= ~(TRAP_FLAG);
|
regs.rflags &= ~(TRAP_FLAG);
|
||||||
#endif
|
#endif
|
||||||
set_registers(regs);
|
set_registers(regs);
|
||||||
#if ARCH(I386)
|
return (void*)regs.ip();
|
||||||
return (void*)regs.eip;
|
|
||||||
#else
|
|
||||||
TODO();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void DebugSession::detach()
|
void DebugSession::detach()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue