qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 24/46] rename DEBUG_TCG to CONFIG_DEBUG_TCG


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 24/46] rename DEBUG_TCG to CONFIG_DEBUG_TCG
Date: Fri, 24 Jul 2009 20:30:24 +0200

Signed-off-by: Juan Quintela <address@hidden>
---
 configure |    2 +-
 tcg/tcg.c |    2 +-
 tcg/tcg.h |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index 1b9d7c0..55883ad 100755
--- a/configure
+++ b/configure
@@ -1519,7 +1519,7 @@ arch_name=`echo $ARCH | tr '[:lower:]' '[:upper:]'`
 echo "#define HOST_$arch_name 1" >> $config_host_h

 if test "$debug_tcg" = "yes" ; then
-  echo "#define DEBUG_TCG 1" >> $config_host_h
+  echo "#define CONFIG_DEBUG_TCG 1" >> $config_host_h
 fi
 if test "$debug" = "yes" ; then
   echo "#define DEBUG_EXEC 1" >> $config_host_h
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 0ba1b6a..93066e2 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -27,7 +27,7 @@

 #include "config.h"

-#ifndef DEBUG_TCG
+#ifndef CONFIG_DEBUG_TCG
 /* define it to suppress various consistency checks (faster) */
 #define NDEBUG
 #endif
diff --git a/tcg/tcg.h b/tcg/tcg.h
index ad0bd14..35e6aeb 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -121,7 +121,7 @@ typedef tcg_target_ulong TCGArg;
    are aliases for target_ulong and host pointer sized values respectively.
  */

-#ifdef DEBUG_TCG
+#ifdef CONFIG_DEBUG_TCG
 #define DEBUG_TCGV 1
 #endif

-- 
1.6.2.5





reply via email to

[Prev in Thread] Current Thread [Next in Thread]