You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by gs...@apache.org on 2006/11/15 17:49:37 UTC

svn commit: r475308 - /incubator/harmony/enhanced/drlvm/trunk/vm/thread/src/thread_private.h

Author: gshimansky
Date: Wed Nov 15 08:49:36 2006
New Revision: 475308

URL: http://svn.apache.org/viewvc?view=rev&rev=475308
Log:
Applied HARMONY-2153 [drlvm][msvs] Visual Studio shows no symbol information when attached to running DRLVM

tests passed on ubuntu and win32


Modified:
    incubator/harmony/enhanced/drlvm/trunk/vm/thread/src/thread_private.h

Modified: incubator/harmony/enhanced/drlvm/trunk/vm/thread/src/thread_private.h
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/thread/src/thread_private.h?view=diff&rev=475308&r1=475307&r2=475308
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/thread/src/thread_private.h (original)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/thread/src/thread_private.h Wed Nov 15 08:49:36 2006
@@ -165,6 +165,13 @@
  */
 typedef struct HyThread {
 
+#ifndef POSIX
+    // This is dummy pointer for Microsoft Visual Studio debugging
+    // If this is removed, Visual Studio, when attached to VM, will show
+    // no symbolic information
+    void* reserved;
+#endif
+
     /**
      * Each thread keeps a pointer to the libary it belongs to.
      */