diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-03-21 17:06:25 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-03-21 17:06:25 +0000 |
commit | f193c7979c2f7e4e021453689b5dd9c8abdcbbc4 (patch) | |
tree | 476de8558dbbfda14b4e96ce22eb511835f4114a /translate-all.c | |
parent | 3035f7ff83c9f072c0b9dc7a95789dba613b8750 (diff) | |
download | qemu-f193c7979c2f7e4e021453689b5dd9c8abdcbbc4.tar.gz qemu-f193c7979c2f7e4e021453689b5dd9c8abdcbbc4.tar.bz2 qemu-f193c7979c2f7e4e021453689b5dd9c8abdcbbc4.zip |
do not depend on thunk.h - more log items
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@675 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'translate-all.c')
-rw-r--r-- | translate-all.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/translate-all.c b/translate-all.c index dd314023bc..f10fb62572 100644 --- a/translate-all.c +++ b/translate-all.c @@ -129,7 +129,7 @@ int cpu_gen_code(CPUState *env, TranslationBlock *tb, } *gen_code_size_ptr = gen_code_size; #ifdef DEBUG_DISAS - if (loglevel) { + if (loglevel & CPU_LOG_TB_OUT_ASM) { fprintf(logfile, "OUT: [size=%d]\n", *gen_code_size_ptr); disas(logfile, tb->tc_ptr, *gen_code_size_ptr, 1, 0); fprintf(logfile, "\n"); @@ -186,7 +186,7 @@ int cpu_restore_state(TranslationBlock *tb, { int cc_op; #ifdef DEBUG_DISAS - if (loglevel) { + if (loglevel & CPU_LOG_TB_OP) { int i; fprintf(logfile, "RESTORE:\n"); for(i=0;i<=j; i++) { |