1 /**********************************************************************
4 Copyright (C) 1999 Lars Brinkhoff. See the file COPYING for licensing
6 **********************************************************************/
11 #include <sys/types.h>
13 typedef struct debugger debugger_state;
14 typedef struct debugee debugee_state;
21 unsigned int waiting : 1;
22 unsigned int real_wait : 1;
23 unsigned int expecting_child : 1;
24 int (*handle_trace) (debugger_state *, pid_t);
26 debugee_state *debugee;
33 unsigned int died : 1;
34 unsigned int event : 1;
35 unsigned int stopped : 1;
36 unsigned int trace_singlestep : 1;
37 unsigned int trace_syscall : 1;
38 unsigned int traced : 1;
39 unsigned int zombie : 1;
40 unsigned int in_context : 1;
43 extern int debugger_syscall(debugger_state *debugger, pid_t pid);
44 extern int debugger_normal_return (debugger_state *debugger, pid_t unused);
46 extern long proxy_ptrace (struct debugger *, int, pid_t, long, long, pid_t,
48 extern void debugger_cancelled_return(debugger_state *debugger, int result);
53 * Overrides for Emacs so that we follow Linus's tabbing style.
54 * Emacs will notice this stuff at the end of the file and automatically
55 * adjust the settings for this buffer only. This must remain at the end
57 * ---------------------------------------------------------------------------
59 * c-file-style: "linux"