2 * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
3 * Licensed under the GPL
9 #include "sysdep/ptrace.h"
13 extern int debug_stop
;
14 extern int debug_trace
;
18 extern int fork_tramp(void *sig_stack
);
19 extern int do_proc_op(void *t
, int proc_id
);
20 extern int tracer(int (*init_proc
)(void *), void *sp
);
21 extern void attach_process(int pid
);
22 extern void tracer_panic(char *format
, ...);
23 extern void set_init_pid(int pid
);
24 extern int set_user_mode(void *task
);
25 extern void set_tracing(void *t
, int tracing
);
26 extern int is_tracing(void *task
);
27 extern void syscall_handler(int sig
, union uml_pt_regs
*regs
);
28 extern void exit_kernel(int pid
, void *task
);
29 extern void do_syscall(void *task
, int pid
, int local_using_sysemu
);
30 extern void do_sigtrap(void *task
);
31 extern int is_valid_pid(int pid
);
32 extern void remap_data(void *segment_start
, void *segment_end
, int w
);
33 extern long execute_syscall_tt(void *r
);
38 * Overrides for Emacs so that we follow Linus's tabbing style.
39 * Emacs will notice this stuff at the end of the file and automatically
40 * adjust the settings for this buffer only. This must remain at the end
42 * ---------------------------------------------------------------------------
44 * c-file-style: "linux"