mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +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"
|
||||
" Kernel Stack: 0x%08x\n"
|
||||
" Trap Frame: 0x%08x\n"
|
||||
" NPX State: %s (0x%x)\n",
|
||||
(Argc < 2) ? "Current Thread:\n" : "",
|
||||
Thread->Cid.UniqueThread,
|
||||
State, Thread->Tcb.State,
|
||||
Thread->Tcb.Priority,
|
||||
Thread->Tcb.Affinity,
|
||||
Thread->Tcb.InitialStack,
|
||||
Thread->Tcb.StackLimit,
|
||||
Thread->Tcb.StackBase,
|
||||
Thread->Tcb.KernelStack,
|
||||
Thread->Tcb.TrapFrame
|
||||
#ifndef _M_AMD64
|
||||
" NPX State: %s (0x%x)\n"
|
||||
#endif
|
||||
, (Argc < 2) ? "Current Thread:\n" : ""
|
||||
, Thread->Cid.UniqueThread
|
||||
, State, Thread->Tcb.State
|
||||
, Thread->Tcb.Priority
|
||||
, Thread->Tcb.Affinity
|
||||
, Thread->Tcb.InitialStack
|
||||
, Thread->Tcb.StackLimit
|
||||
, Thread->Tcb.StackBase
|
||||
, Thread->Tcb.KernelStack
|
||||
, Thread->Tcb.TrapFrame
|
||||
#ifndef _M_AMD64
|
||||
, NPX_STATE_TO_STRING(Thread->Tcb.NpxState), Thread->Tcb.NpxState
|
||||
#endif
|
||||
);
|
||||
);
|
||||
|
||||
/* Release our reference if we had one */
|
||||
if (ReferencedThread)
|
||||
|
|
Loading…
Reference in a new issue