summaryrefslogtreecommitdiffstats
path: root/private/windbg/newdm/funccall.h
blob: 00c617b24108b74e4c647cfa73ee6420a7a5e149 (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
/*++

Copyright (c) 1992  Microsoft Corporation

Module Name:

    funccall.h

Abstract:

    Contains the types and protypes for funccall.c

Author:

    Jim Schaad (jimsch) 05-06-92

Environment:

    Win32 - User

--*/

/*
 *
 */

typedef struct _EXECUTE_OBJECT_DM {
    ADDR        addrStart;      /* Starting address of function call     */
    ADDR        addrStack;      /* Starting stack offset                 */
    BOOL        fIgnoreEvents;  /* Ignore events during execution        */
    HTHDX       hthd;           /* Thread for evaluating fucntion        */
    BREAKPOINT * lpbp;          /* Pointer to breakpoint at starting addres */
    BREAKPOINT * pbpSave;       /* Breakpoint thread is on at start     */
    int         tmp;
} EXECUTE_OBJECT_DM;

typedef EXECUTE_OBJECT_DM FAR * LPEXECUTE_OBJECT_DM;

/**********************************************************************/

extern  VOID    ProcessSetupExecuteCmd(HPRCX, HTHDX, LPDBB);
extern  VOID    ProcessStartExecuteCmd(HPRCX, HTHDX, LPDBB);
extern  VOID    ProcessCleanUpExecuteCmd(HPRCX, HTHDX, LPDBB);
extern  VOID    EvntException(DEBUG_EVENT *, HTHDX);
extern  VOID    EvntExitProcess(DEBUG_EVENT *, HTHDX);
extern  VOID    EvntBreakpoint(DEBUG_EVENT *, HTHDX);

extern  XOSD    SetupFunctionCall(LPEXECUTE_OBJECT_DM, LPEXECUTE_STRUCT);
extern  BOOL    CompareStacks(LPEXECUTE_OBJECT_DM);