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:
parent
10ca7f18a7
commit
233ef26e4d
13 changed files with 265 additions and 23 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue