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 1522 echo "#define CONFIG_DEBUG_TCG 1" >> $config_host_h
1523 1523 fi
1524 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 1526 fi
1527 1527 if test "$strip_opt" = "yes" ; then
1528 1528 echo "STRIP_OPT=-s" >> $config_host_mak
... ...
cpu-exec.c
... ... @@ -46,7 +46,7 @@
46 46  
47 47 int tb_invalidated_flag;
48 48  
49   -//#define DEBUG_EXEC
  49 +//#define CONFIG_DEBUG_EXEC
50 50 //#define DEBUG_SIGNAL
51 51  
52 52 int qemu_cpu_has_work(CPUState *env)
... ... @@ -568,7 +568,7 @@ int cpu_exec(CPUState *env1)
568 568 env->exception_index = EXCP_INTERRUPT;
569 569 cpu_loop_exit();
570 570 }
571   -#ifdef DEBUG_EXEC
  571 +#ifdef CONFIG_DEBUG_EXEC
572 572 if (qemu_loglevel_mask(CPU_LOG_TB_CPU)) {
573 573 /* restore flags in standard format */
574 574 regs_to_env();
... ... @@ -614,7 +614,7 @@ int cpu_exec(CPUState *env1)
614 614 next_tb = 0;
615 615 tb_invalidated_flag = 0;
616 616 }
617   -#ifdef DEBUG_EXEC
  617 +#ifdef CONFIG_DEBUG_EXEC
618 618 qemu_log_mask(CPU_LOG_EXEC, "Trace 0x%08lx [" TARGET_FMT_lx "] %s\n",
619 619 (long)tb->tc_ptr, tb->pc,
620 620 lookup_symbol(tb->pc));
... ...