mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[NTOS:KDBG] Fix invalid DBG print
This commit is contained in:
parent
0ab44664b6
commit
b97d5fd2f7
1 changed files with 14 additions and 12 deletions
|
@ -1802,21 +1802,23 @@ KdbpCmdThread(
|
||||||
" Stack Base: 0x%08x\n"
|
" Stack Base: 0x%08x\n"
|
||||||
" Kernel Stack: 0x%08x\n"
|
" Kernel Stack: 0x%08x\n"
|
||||||
" Trap Frame: 0x%08x\n"
|
" Trap Frame: 0x%08x\n"
|
||||||
" NPX State: %s (0x%x)\n",
|
#ifndef _M_AMD64
|
||||||
(Argc < 2) ? "Current Thread:\n" : "",
|
" NPX State: %s (0x%x)\n"
|
||||||
Thread->Cid.UniqueThread,
|
#endif
|
||||||
State, Thread->Tcb.State,
|
, (Argc < 2) ? "Current Thread:\n" : ""
|
||||||
Thread->Tcb.Priority,
|
, Thread->Cid.UniqueThread
|
||||||
Thread->Tcb.Affinity,
|
, State, Thread->Tcb.State
|
||||||
Thread->Tcb.InitialStack,
|
, Thread->Tcb.Priority
|
||||||
Thread->Tcb.StackLimit,
|
, Thread->Tcb.Affinity
|
||||||
Thread->Tcb.StackBase,
|
, Thread->Tcb.InitialStack
|
||||||
Thread->Tcb.KernelStack,
|
, Thread->Tcb.StackLimit
|
||||||
Thread->Tcb.TrapFrame
|
, Thread->Tcb.StackBase
|
||||||
|
, Thread->Tcb.KernelStack
|
||||||
|
, Thread->Tcb.TrapFrame
|
||||||
#ifndef _M_AMD64
|
#ifndef _M_AMD64
|
||||||
, NPX_STATE_TO_STRING(Thread->Tcb.NpxState), Thread->Tcb.NpxState
|
, NPX_STATE_TO_STRING(Thread->Tcb.NpxState), Thread->Tcb.NpxState
|
||||||
#endif
|
#endif
|
||||||
);
|
);
|
||||||
|
|
||||||
/* Release our reference if we had one */
|
/* Release our reference if we had one */
|
||||||
if (ReferencedThread)
|
if (ReferencedThread)
|
||||||
|
|
Loading…
Reference in a new issue