    return(1);
 diff -ur bochs/cpu/icache.h bochs-trace-cache/cpu/icache.h
 --- bochs/cpu/icache.h	2007-11-22 19:32:00.000000000 +0200
-+++ bochs-trace-cache/cpu/icache.h	2007-11-23 15:37:53.703125000 +0200
-@@ -115,12 +115,15 @@
++++ bochs-trace-cache/cpu/icache.h	2007-11-26 18:03:18.316625600 +0200
+@@ -115,12 +115,21 @@
  
  #define BxICacheEntries (64 * 1024)  // Must be a power of 2.
  
++#if BX_SUPPORT_TRACE_CACHE
 +#define BX_MAX_TRACE_LENGTH 16
++#endif
 +
  struct bxICacheEntry_c
  {

     metaInfo3 = (metaInfo3 & ~3) | (value);
   }
 
+#if BX_SUPPORT_ICACHE
+  BX_CPP_INLINE void setStopTraceAttr(void) {
+   metaInfo3 |= (1<<3);
+  }

   /* 0F B8 /wm */ { BxPrefixSSE, NULL, BxOpcodeGroupSSE_0fb8w },
-  /* 0F B9 /wm */ { 0, &BX_CPU_C::UndefinedOpcode }, // UD2 opcode
+  /* 0F B9 /wm */ { BxTraceEnd, &BX_CPU_C::UndefinedOpcode }, // UD2 opcode
   /* 0F BA /wm */ { BxGroup8, NULL, BxOpcodeInfoG8EwIbM },
   /* 0F BB /wm */ { BxLockable, &BX_CPU_C::BTC_EwGwM },
   /* 0F BC /wm */ { 0, &BX_CPU_C::BSF_GwEw },
@@ -2407,22 +2407,22 @@
