summaryrefslogtreecommitdiffstats
path: root/private/sm/server/dbgdump.c
blob: 2da817030d09317bf00a2b411accc7fa8aadf483 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/*++

Copyright (c) 1989  Microsoft Corporation

Module Name:

    dbgdump.c

Abstract:

    Dump routines for Debug Subsystem

Author:

    Mark Lucovsky (markl) 23-Jan-1990

Revision History:

--*/

#if DBG

#include "smsrvp.h"

VOID
DbgpDumpUserInterface (
    IN PDBGP_USER_INTERFACE UserInterface
    )
{

    DbgPrint("DMP_UI: UserInterface at 0x%lx\n",UserInterface);
    DbgPrint("DMP_UI: ClientId %lx.%lx\n",
        UserInterface->DebugUiClientId.UniqueProcess,
        UserInterface->DebugUiClientId.UniqueThread
        );
}

VOID
DbgpDumpAppThread (
    IN PDBGP_APP_THREAD AppThread
    )
{

    DbgPrint("DMP_AT: AppThread at 0x%lx\n",AppThread);
    DbgPrint("DMP_AT: AppClientId %lx.%lx\n",
        AppThread->AppClientId.UniqueProcess,
        AppThread->AppClientId.UniqueThread
        );
    DbgPrint("DMP_AT: CurrentState %lx ContinueState %lx\n",
        AppThread->CurrentState,
        AppThread->ContinueState
        );
    DbgPrint("DMP_AT: AppProcess %lx\n",
        AppThread->AppProcess
        );
    DbgPrint("DMP_AT: UserInterface %lx\n",
        AppThread->UserInterface
        );
    DbgPrint("DMP_AT: HandleToThread %lx\n",
        AppThread->HandleToThread
        );
    DbgPrint("DMP_AT: Subsystem %lx\n",
        AppThread->Subsystem
        );
}

VOID
DbgpDumpSubsystem (
    IN PDBGP_SUBSYSTEM Subsystem
    )
{

    DbgPrint("DMP_SS: Subsystem at 0x%lx\n",Subsystem);
    DbgPrint("DMP_SS: ClientId %lx.%lx\n",
        Subsystem->SubsystemClientId.UniqueProcess,
        Subsystem->SubsystemClientId.UniqueThread
        );
}

#endif // DBG