提交 f0667e66 编写于 作者: J Juan Quintela 提交者: Anthony Liguori

rename DEBUG_EXEC to CONFIG_DEBUG_EXEC

Signed-off-by: NJuan Quintela <quintela@redhat.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 092c73ee
......@@ -1522,7 +1522,7 @@ if test "$debug_tcg" = "yes" ; then
echo "#define CONFIG_DEBUG_TCG 1" >> $config_host_h
fi
if test "$debug" = "yes" ; then
echo "#define DEBUG_EXEC 1" >> $config_host_h
echo "#define CONFIG_DEBUG_EXEC 1" >> $config_host_h
fi
if test "$strip_opt" = "yes" ; then
echo "STRIP_OPT=-s" >> $config_host_mak
......
......@@ -46,7 +46,7 @@
int tb_invalidated_flag;
//#define DEBUG_EXEC
//#define CONFIG_DEBUG_EXEC
//#define DEBUG_SIGNAL
int qemu_cpu_has_work(CPUState *env)
......@@ -568,7 +568,7 @@ int cpu_exec(CPUState *env1)
env->exception_index = EXCP_INTERRUPT;
cpu_loop_exit();
}
#ifdef DEBUG_EXEC
#ifdef CONFIG_DEBUG_EXEC
if (qemu_loglevel_mask(CPU_LOG_TB_CPU)) {
/* restore flags in standard format */
regs_to_env();
......@@ -614,7 +614,7 @@ int cpu_exec(CPUState *env1)
next_tb = 0;
tb_invalidated_flag = 0;
}
#ifdef DEBUG_EXEC
#ifdef CONFIG_DEBUG_EXEC
qemu_log_mask(CPU_LOG_EXEC, "Trace 0x%08lx [" TARGET_FMT_lx "] %s\n",
(long)tb->tc_ptr, tb->pc,
lookup_symbol(tb->pc));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册