mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
more log items
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@676 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
f193c7979c
commit
e19e89a5d4
6 changed files with 71 additions and 76 deletions
|
@ -4595,16 +4595,16 @@ static inline int gen_intermediate_code_internal(CPUState *env,
|
|||
}
|
||||
|
||||
#ifdef DEBUG_DISAS
|
||||
if (loglevel) {
|
||||
if (loglevel & CPU_LOG_TB_IN_ASM) {
|
||||
fprintf(logfile, "----------------\n");
|
||||
fprintf(logfile, "IN: %s\n", lookup_symbol(pc_start));
|
||||
disas(logfile, pc_start, pc_ptr - pc_start, 0, !dc->code32);
|
||||
fprintf(logfile, "\n");
|
||||
#if 0
|
||||
fprintf(logfile, "OP:\n");
|
||||
dump_ops(gen_opc_buf, gen_opparam_buf);
|
||||
fprintf(logfile, "\n");
|
||||
#endif
|
||||
if (loglevel & CPU_LOG_TB_OP) {
|
||||
fprintf(logfile, "OP:\n");
|
||||
dump_ops(gen_opc_buf, gen_opparam_buf);
|
||||
fprintf(logfile, "\n");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -4612,7 +4612,7 @@ static inline int gen_intermediate_code_internal(CPUState *env,
|
|||
optimize_flags(gen_opc_buf, gen_opc_ptr - gen_opc_buf);
|
||||
|
||||
#ifdef DEBUG_DISAS
|
||||
if (loglevel) {
|
||||
if (loglevel & CPU_LOG_TB_OP_OPT) {
|
||||
fprintf(logfile, "AFTER FLAGS OPT:\n");
|
||||
dump_ops(gen_opc_buf, gen_opparam_buf);
|
||||
fprintf(logfile, "\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue