Commit 092c73eefffc72d7464d05697b23a3954c078f87

Authored by Juan Quintela
Committed by Anthony Liguori
1 parent 936dfb80

rename DEBUG_TCG to CONFIG_DEBUG_TCG

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
configure
@@ -1519,7 +1519,7 @@ arch_name=`echo $ARCH | tr &#39;[:lower:]&#39; &#39;[:upper:]&#39;` @@ -1519,7 +1519,7 @@ arch_name=`echo $ARCH | tr &#39;[:lower:]&#39; &#39;[:upper:]&#39;`
1519 echo "#define HOST_$arch_name 1" >> $config_host_h 1519 echo "#define HOST_$arch_name 1" >> $config_host_h
1520 1520
1521 if test "$debug_tcg" = "yes" ; then 1521 if test "$debug_tcg" = "yes" ; then
1522 - echo "#define 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 DEBUG_EXEC 1" >> $config_host_h
tcg/tcg.c
@@ -27,7 +27,7 @@ @@ -27,7 +27,7 @@
27 27
28 #include "config.h" 28 #include "config.h"
29 29
30 -#ifndef DEBUG_TCG 30 +#ifndef CONFIG_DEBUG_TCG
31 /* define it to suppress various consistency checks (faster) */ 31 /* define it to suppress various consistency checks (faster) */
32 #define NDEBUG 32 #define NDEBUG
33 #endif 33 #endif
tcg/tcg.h
@@ -121,7 +121,7 @@ typedef tcg_target_ulong TCGArg; @@ -121,7 +121,7 @@ typedef tcg_target_ulong TCGArg;
121 are aliases for target_ulong and host pointer sized values respectively. 121 are aliases for target_ulong and host pointer sized values respectively.
122 */ 122 */
123 123
124 -#ifdef DEBUG_TCG 124 +#ifdef CONFIG_DEBUG_TCG
125 #define DEBUG_TCGV 1 125 #define DEBUG_TCGV 1
126 #endif 126 #endif
127 127