[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 26/47] rename DEBUG_EXEC to CONFIG_DEBUG_EXEC
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 26/47] rename DEBUG_EXEC to CONFIG_DEBUG_EXEC |
Date: |
Mon, 27 Jul 2009 16:13:05 +0200 |
Signed-off-by: Juan Quintela <address@hidden>
---
configure | 2 +-
cpu-exec.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure b/configure
index abbe5c0..e6fba39 100755
--- a/configure
+++ b/configure
@@ -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
diff --git a/cpu-exec.c b/cpu-exec.c
index ae2fcd0..1718dc4 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -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));
--
1.6.2.5
- [Qemu-devel] [PATCH 12/47] Add -static in configure if needed, (continued)
- [Qemu-devel] [PATCH 12/47] Add -static in configure if needed, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 15/47] fix indententation, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 14/47] Refactor code to remove one #ifdef CONFIG_FDT, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 18/47] define MAP_ANONYMOUS if it is not defined in qemu-common.h, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 23/47] rename HAVE_GPROF to TARGET_GPROF, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 20/47] rename HAVE_IOVEC to CONFIG_IOVEC, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 21/47] rename HAVE_FNMATCH_H to CONFIG_FNMATCH, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 22/47] rename HAVE_MACHINE_BSWAP_H to CONFIG_MACHINE_BSWAP_H, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 25/47] rename DEBUG_TCG to CONFIG_DEBUG_TCG, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 24/47] rename HAVE_BYTESWAP_H to CONFIG_BYTESWAP_H, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 26/47] rename DEBUG_EXEC to CONFIG_DEBUG_EXEC,
Juan Quintela <=
- [Qemu-devel] [PATCH 17/47] rename HOST_BSD to CONFIG_BSD, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 16/47] O_LARGEFILE is already set in qemu-common.h, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 19/47] rename HAVE_PREADV to CONFIG_PREADV, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 28/47] Add CONFIG_POSIX, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 27/47] rename WORDS_BIGENDIAN to HOST_WORDS_BIGENDIAN, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 30/47] the else part of this test is obsolete We are testing for sdl = yes inside the else part of the test if sdl = yes, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 33/47] instead of setup sdl_x11 just add -lX11 to sdl_libs, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 29/47] Use CONFIG_POSIX to simplify Makefile, Juan Quintela, 2009/07/27