diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-01 00:07:38 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-01 00:07:38 +0000 |
commit | b92c47c1cc25bafd75d81f121e06b68b35d0beed (patch) | |
tree | a30c60d4769e2ca4185ead842b98157705d9ec39 /linux-user/qemu.h | |
parent | fc0d441e14f07a35f9ea67ac8ca032a2ea902b38 (diff) |
Strace for userland emulation, by Stuart Anderson and Thayne Harbaugh.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3502 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/qemu.h')
-rw-r--r-- | linux-user/qemu.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linux-user/qemu.h b/linux-user/qemu.h index e92db6ee64..22a4fec61d 100644 --- a/linux-user/qemu.h +++ b/linux-user/qemu.h @@ -153,10 +153,18 @@ extern CPUState *global_env; void cpu_loop(CPUState *env); void init_paths(const char *prefix); const char *path(const char *pathname); +char *target_strerror(int err); extern int loglevel; extern FILE *logfile; +/* strace.c */ +void print_syscall(int num, + target_long arg1, target_long arg2, target_long arg3, + target_long arg4, target_long arg5, target_long arg6); +void print_syscall_ret(int num, target_long arg1); +extern int do_strace; + /* signal.c */ void process_pending_signals(void *cpu_env); void signal_init(void); |