diff options
Diffstat (limited to 'sysdeps/README')
-rw-r--r-- | sysdeps/README | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/sysdeps/README b/sysdeps/README index ce033ef..db51c9e 100644 --- a/sysdeps/README +++ b/sysdeps/README @@ -7,26 +7,5 @@ first target, and must remove "sysdep.o" in this dir. Files "sysdep.h", "signalent.h" and "syscallent.h" must be present inside the directory after invoking the first target of the Makefile. ------------ -"sysdep.o" must export the following functions: - -Event * next_event(void); -void continue_after_breakpoint(Process * proc, Breakpoint * sbp, int delete_it); -void continue_after_signal(pid_t pid, int signum); -void continue_enabling_breakpoint(pid_t pid, Breakpoint * sbp); -void continue_process(pid_t pid); -void enable_breakpoint(pid_t pid, Breakpoint * sbp); -void disable_breakpoint(pid_t pid, Breakpoint * sbp); -int fork_p(int sysnum); -int exec_p(int sysnum); -int syscall_p(Process * proc, int status, int * sysnum); -void * get_instruction_pointer(pid_t pid); -void * get_stack_pointer(pid_t pid); -void * get_return_addr(pid_t pid, void * stack_pointer); -long gimme_arg(enum tof type, Process * proc, arg_type_info*); -int umovestr(Process * proc, void * addr, int len, void * laddr); -int umovelong(Process * proc, void * addr, long * result); -char * pid2name(pid_t pid); -void trace_me(void); -int trace_pid(pid_t pid); -void untrace_pid(pid_t pid); +See the file "backend.h" for description of backend interfaces, which +have to be provided by "sysdep.o". |