aboutsummaryrefslogtreecommitdiff
path: root/linux-user/qemu.h
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-01 00:07:38 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-01 00:07:38 +0000
commitb92c47c1cc25bafd75d81f121e06b68b35d0beed (patch)
treea30c60d4769e2ca4185ead842b98157705d9ec39 /linux-user/qemu.h
parentfc0d441e14f07a35f9ea67ac8ca032a2ea902b38 (diff)
downloadqemu-b92c47c1cc25bafd75d81f121e06b68b35d0beed.zip
qemu-b92c47c1cc25bafd75d81f121e06b68b35d0beed.tar.gz
qemu-b92c47c1cc25bafd75d81f121e06b68b35d0beed.tar.bz2
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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index e92db6e..22a4fec 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);