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 __attribute__ ((format (printf, 1, 2)));
24 extern void set_init_pid(int pid);
25 extern int set_user_mode(void *task);
26 extern void set_tracing(void *t, int tracing);
27 extern int is_tracing(void *task);
28 extern void syscall_handler(int sig, union uml_pt_regs *regs);
29 extern void exit_kernel(int pid, void *task);
30 extern void do_syscall(void *task, int pid, int local_using_sysemu);
31 extern void do_sigtrap(void *task);
32 extern int is_valid_pid(int pid);
33 extern void remap_data(void *segment_start, void *segment_end, int w);
34 extern long execute_syscall_tt(void *r);