1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:58:12 +00:00

Kernel+Userland: Add x86_64 registers to RegisterState/PtraceRegisters

This commit is contained in:
Gunnar Beutner 2021-06-26 14:56:28 +02:00 committed by Andreas Kling
parent 10ca7f18a7
commit 233ef26e4d
13 changed files with 265 additions and 23 deletions

View file

@ -594,10 +594,11 @@ void dump_thread_list()
#if ARCH(I386)
if (!thread.current_trap())
return thread.tss().eip;
return thread.get_register_dump_from_stack().eip;
#else
PANIC("get_eip() not implemented");
return thread.get_register_dump_from_stack().rip;
#endif
return thread.get_register_dump_from_stack().eip;
};
Thread::for_each([&](Thread& thread) {