mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 09:39:39 +00:00
Userland: Add more TODO()s for arch-specific code
This enables building more of the userspace applications for x86_64.
This commit is contained in:
parent
f2d6cac692
commit
c9a8dfa1bf
Notes:
sideshowbarker
2024-07-18 11:36:06 +09:00
Author: https://github.com/gunnarbeutner
Commit: c9a8dfa1bf
Pull-request: https://github.com/SerenityOS/serenity/pull/8225
5 changed files with 21 additions and 2 deletions
|
@ -9,6 +9,7 @@
|
|||
#include <AK/JsonValue.h>
|
||||
#include <AK/LexicalPath.h>
|
||||
#include <AK/Optional.h>
|
||||
#include <AK/Platform.h>
|
||||
#include <LibCore/File.h>
|
||||
#include <LibRegex/Regex.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -336,7 +337,11 @@ void* DebugSession::single_step()
|
|||
regs = get_registers();
|
||||
regs.eflags &= ~(TRAP_FLAG);
|
||||
set_registers(regs);
|
||||
#if ARCH(I386)
|
||||
return (void*)regs.eip;
|
||||
#else
|
||||
TODO();
|
||||
#endif
|
||||
}
|
||||
|
||||
void DebugSession::detach()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue