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
This commit is contained in:
ths 2007-11-01 00:07:38 +00:00
parent fc0d441e14
commit b92c47c1cc
4 changed files with 46 additions and 3 deletions

View file

@ -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++;