Commit f0667e660720cf2aee4c58716a7a9337bc359a31

Authored by Juan Quintela
Committed by Anthony Liguori
1 parent 092c73ee

rename DEBUG_EXEC to CONFIG_DEBUG_EXEC

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Showing 2 changed files with 4 additions and 4 deletions
configure
@@ -1522,7 +1522,7 @@ if test &quot;$debug_tcg&quot; = &quot;yes&quot; ; then @@ -1522,7 +1522,7 @@ if test &quot;$debug_tcg&quot; = &quot;yes&quot; ; then
1522 echo "#define CONFIG_DEBUG_TCG 1" >> $config_host_h 1522 echo "#define CONFIG_DEBUG_TCG 1" >> $config_host_h
1523 fi 1523 fi
1524 if test "$debug" = "yes" ; then 1524 if test "$debug" = "yes" ; then
1525 - echo "#define DEBUG_EXEC 1" >> $config_host_h 1525 + echo "#define CONFIG_DEBUG_EXEC 1" >> $config_host_h
1526 fi 1526 fi
1527 if test "$strip_opt" = "yes" ; then 1527 if test "$strip_opt" = "yes" ; then
1528 echo "STRIP_OPT=-s" >> $config_host_mak 1528 echo "STRIP_OPT=-s" >> $config_host_mak
cpu-exec.c
@@ -46,7 +46,7 @@ @@ -46,7 +46,7 @@
46 46
47 int tb_invalidated_flag; 47 int tb_invalidated_flag;
48 48
49 -//#define DEBUG_EXEC 49 +//#define CONFIG_DEBUG_EXEC
50 //#define DEBUG_SIGNAL 50 //#define DEBUG_SIGNAL
51 51
52 int qemu_cpu_has_work(CPUState *env) 52 int qemu_cpu_has_work(CPUState *env)
@@ -568,7 +568,7 @@ int cpu_exec(CPUState *env1) @@ -568,7 +568,7 @@ int cpu_exec(CPUState *env1)
568 env->exception_index = EXCP_INTERRUPT; 568 env->exception_index = EXCP_INTERRUPT;
569 cpu_loop_exit(); 569 cpu_loop_exit();
570 } 570 }
571 -#ifdef DEBUG_EXEC 571 +#ifdef CONFIG_DEBUG_EXEC
572 if (qemu_loglevel_mask(CPU_LOG_TB_CPU)) { 572 if (qemu_loglevel_mask(CPU_LOG_TB_CPU)) {
573 /* restore flags in standard format */ 573 /* restore flags in standard format */
574 regs_to_env(); 574 regs_to_env();
@@ -614,7 +614,7 @@ int cpu_exec(CPUState *env1) @@ -614,7 +614,7 @@ int cpu_exec(CPUState *env1)
614 next_tb = 0; 614 next_tb = 0;
615 tb_invalidated_flag = 0; 615 tb_invalidated_flag = 0;
616 } 616 }
617 -#ifdef DEBUG_EXEC 617 +#ifdef CONFIG_DEBUG_EXEC
618 qemu_log_mask(CPU_LOG_EXEC, "Trace 0x%08lx [" TARGET_FMT_lx "] %s\n", 618 qemu_log_mask(CPU_LOG_EXEC, "Trace 0x%08lx [" TARGET_FMT_lx "] %s\n",
619 (long)tb->tc_ptr, tb->pc, 619 (long)tb->tc_ptr, tb->pc,
620 lookup_symbol(tb->pc)); 620 lookup_symbol(tb->pc));