harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r527884 - /harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/windows/agent/core/TransportManager_pd.cpp
Date Thu, 12 Apr 2007 11:09:24 GMT
Author: gshimansky
Date: Thu Apr 12 04:09:24 2007
New Revision: 527884

URL: http://svn.apache.org/viewvc?view=rev&rev=527884
Log:
Applied HARMONY-3560 [jdktools][jpda] support 64-bit Windows platform


Modified:
    harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/windows/agent/core/TransportManager_pd.cpp

Modified: harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/windows/agent/core/TransportManager_pd.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/windows/agent/core/TransportManager_pd.cpp?view=diff&rev=527884&r1=527883&r2=527884
==============================================================================
--- harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/windows/agent/core/TransportManager_pd.cpp
(original)
+++ harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/windows/agent/core/TransportManager_pd.cpp
Thu Apr 12 04:09:24 2007
@@ -33,8 +33,16 @@
 
 using namespace jdwp;
 
-const char* TransportManager::onLoadDecFuncName = "_jdwpTransport_OnLoad@16";
-const char* TransportManager::unLoadDecFuncName = "_jdwpTransport_UnLoad@4";
+#ifdef _WIN64
+    // for 64-bit Windows platform
+    const char* TransportManager::onLoadDecFuncName = "jdwpTransport_OnLoad";
+    const char* TransportManager::unLoadDecFuncName = "jdwpTransport_UnLoad";
+#else
+    // for 32-bit Windows platform
+    const char* TransportManager::onLoadDecFuncName = "_jdwpTransport_OnLoad@16";
+    const char* TransportManager::unLoadDecFuncName = "_jdwpTransport_UnLoad@4";
+#endif // _WIN64
+
 const char TransportManager::pathSeparator = ';';
 
 void TransportManager::StartDebugger(const char* command) throw(AgentException)



Mime
View raw message