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/main.c | |
parent | fc0d441e14f07a35f9ea67ac8ca032a2ea902b38 (diff) | |
download | qemu-b92c47c1cc25bafd75d81f121e06b68b35d0beed.tar.gz qemu-b92c47c1cc25bafd75d81f121e06b68b35d0beed.tar.bz2 qemu-b92c47c1cc25bafd75d81f121e06b68b35d0beed.zip |
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/main.c')
-rw-r--r-- | linux-user/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index 88a2e48863..6a026b012b 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -1980,6 +1980,10 @@ int main(int argc, char **argv) env = cpu_init(); global_env = env; + if(getenv("QEMU_STRACE") ){ + do_strace=1; + } + wrk = environ; while (*(wrk++)) environ_count++; |