You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ge...@apache.org on 2006/11/29 02:32:33 UTC

svn commit: r480321 - in /harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp: common/agent/ common/generic/ common/transport/ linux/agent/ linux/transport/ windows/agent/ windows/transport/

Author: geirm
Date: Tue Nov 28 17:32:32 2006
New Revision: 480321

URL: http://svn.apache.org/viewvc?view=rev&rev=480321
Log:
copy of the jpda code, modeling after classlib native structure
and makefile


Added:
    harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/common/agent/
      - copied from r480141, harmony/enhanced/jdktools/trunk/modules/jpda/src/common/other/jpda/jdwp/agent/
    harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/common/generic/
      - copied from r480141, harmony/enhanced/jdktools/trunk/modules/jpda/src/common/other/jpda/jdwp/generic/
    harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/common/transport/
      - copied from r480141, harmony/enhanced/jdktools/trunk/modules/jpda/src/common/other/jpda/jdwp/transport/
    harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/linux/agent/
      - copied from r480141, harmony/enhanced/jdktools/trunk/modules/jpda/src/linux/other/jpda/jdwp/agent/
    harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/linux/agent/libjdwp.exp
    harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/linux/agent/makefile
    harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/linux/transport/
      - copied from r480141, harmony/enhanced/jdktools/trunk/modules/jpda/src/linux/other/jpda/jdwp/transport/
    harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/linux/transport/libdt_socket.exp
    harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/linux/transport/makefile
    harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/windows/agent/
      - copied from r480141, harmony/enhanced/jdktools/trunk/modules/jpda/src/windows/other/jpda/jdwp/agent/
    harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/windows/transport/
      - copied from r480141, harmony/enhanced/jdktools/trunk/modules/jpda/src/windows/other/jpda/jdwp/transport/

Added: harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/linux/agent/libjdwp.exp
URL: http://svn.apache.org/viewvc/harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/linux/agent/libjdwp.exp?view=auto&rev=480321
==============================================================================
--- harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/linux/agent/libjdwp.exp (added)
+++ harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/linux/agent/libjdwp.exp Tue Nov 28 17:32:32 2006
@@ -0,0 +1,5 @@
+JDPA_0.1 {
+        global : *;
+        local : *;
+};
+

Added: harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/linux/agent/makefile
URL: http://svn.apache.org/viewvc/harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/linux/agent/makefile?view=auto&rev=480321
==============================================================================
--- harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/linux/agent/makefile (added)
+++ harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/linux/agent/makefile Tue Nov 28 17:32:32 2006
@@ -0,0 +1,64 @@
+#  Licensed to the Apache Software Foundation (ASF) under one or more
+#  contributor license agreements.  See the NOTICE file distributed with
+#  this work for additional information regarding copyright ownership.
+#  The ASF licenses this file to You under the Apache License, Version 2.0
+#  (the "License"); you may not use this file except in compliance with
+#  the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+
+#
+# Makefile for module jdwp
+# export HY_HDK=/home/geir/dev/apache/harmony/enhanced/trunk/working_classlib/deploy/
+# export HY_DRLVM=/home/geir/dev/apache/harmony/enhanced/trunk/working_vm/build/deploy/
+
+#
+
+include $(HY_HDK)/build/make/makefile.include
+
+COMMON=../../common/
+CMNAGENT=$(COMMON)agent/
+
+CFLAGS = -O1 $(HY_CFLAGS) -D_DEBUG -DLINUX -D_REENTRANT -DIPv6_FUNCTION_SUPPORT \
+         $(VMDEBUG) -I$(HY_HDK)/include -I$(HY_DRLVM)/jre/include -I. \
+         -I$(CMNAGENT)commands   -I$(CMNAGENT)core \
+         -I$(COMMON)generic -Icore
+
+CFLAGS += -fPIC
+
+LDFLAGS = -lstdc++ -lgcc_s
+
+BUILDFILES = \
+    $(CMNAGENT)commands/ArrayReference.o \
+    $(CMNAGENT)commands/ArrayType.o \
+    $(CMNAGENT)commands/ClassLoaderReference.o \
+    $(CMNAGENT)commands/ClassObjectReference.o \
+    $(CMNAGENT)commands/ClassType.o \
+    $(CMNAGENT)commands/EventRequest.o \
+    $(CMNAGENT)commands/Method.o \
+    $(CMNAGENT)commands/ObjectReference.o \
+    $(CMNAGENT)commands/ReferenceType.o \
+    $(CMNAGENT)commands/StackFrame.o \
+    $(CMNAGENT)commands/StringReference.o \
+    $(CMNAGENT)commands/ThreadGroupReference.o \
+    $(CMNAGENT)commands/ThreadReference.o \
+    $(CMNAGENT)commands/VirtualMachine.o \
+    $(CMNAGENT)core/Agent.o $(CMNAGENT)core/AgentEventRequest.o $(CMNAGENT)core/AgentMonitor.o \
+    $(CMNAGENT)core/ClassManager.o $(CMNAGENT)core/CommandDispatcher.o $(CMNAGENT)core/CommandHandler.o \
+    $(CMNAGENT)core/EventDispatcher.o $(CMNAGENT)core/LogManager.o $(CMNAGENT)core/MemoryManager.o \
+    $(CMNAGENT)core/ObjectManager.o $(CMNAGENT)core/OptionParser.o $(CMNAGENT)core/PacketDispatcher.o \
+    $(CMNAGENT)core/PacketParser.o $(CMNAGENT)core/RequestManager.o $(CMNAGENT)core/RequestModifier.o \
+    $(CMNAGENT)core/ThreadManager.o $(CMNAGENT)core/TransportManager.o \
+    core/TransportManager_pd.o
+
+MDLLIBFILES = 
+
+DLLNAME = ../libjdwp.so
+
+include $(HY_HDK)/build/make/rules.mk

Added: harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/linux/transport/libdt_socket.exp
URL: http://svn.apache.org/viewvc/harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/linux/transport/libdt_socket.exp?view=auto&rev=480321
==============================================================================
--- harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/linux/transport/libdt_socket.exp (added)
+++ harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/linux/transport/libdt_socket.exp Tue Nov 28 17:32:32 2006
@@ -0,0 +1,5 @@
+JDPA_0.1 {
+        global : *;
+        local : *;
+};
+

Added: harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/linux/transport/makefile
URL: http://svn.apache.org/viewvc/harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/linux/transport/makefile?view=auto&rev=480321
==============================================================================
--- harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/linux/transport/makefile (added)
+++ harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/linux/transport/makefile Tue Nov 28 17:32:32 2006
@@ -0,0 +1,47 @@
+#  Licensed to the Apache Software Foundation (ASF) under one or more
+#  contributor license agreements.  See the NOTICE file distributed with
+#  this work for additional information regarding copyright ownership.
+#  The ASF licenses this file to You under the Apache License, Version 2.0
+#  (the "License"); you may not use this file except in compliance with
+#  the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+
+#
+# Makefile for module jdwp - transport
+#
+# export HY_HDK=/home/geir/dev/apache/harmony/enhanced/trunk/working_classlib/deploy/
+# export HY_DRLVM=/home/geir/dev/apache/harmony/enhanced/trunk/working_vm/build/deploy/
+
+#
+
+include $(HY_HDK)/build/make/makefile.include
+
+COMMON=../../common/
+CMNTRANS=$(COMMON)transport/
+
+CFLAGS = -O1 $(HY_CFLAGS) -D_DEBUG -DLINUX -D_REENTRANT -DIPv6_FUNCTION_SUPPORT \
+         $(VMDEBUG) -I$(HY_HDK)/include -I$(HY_DRLVM)/jre/include -I. \
+         -I$(CMNTRANS)common   -I$(CMNTRANS)dt_socket \
+         -I$(COMMON)generic -Idt_socket
+                  
+
+CFLAGS += -fPIC
+
+LDFLAGS = -lstdc++ -lgcc_s
+
+BUILDFILES = \
+    $(CMNTRANS)common/LastTransportError.o \
+    $(CMNTRANS)dt_socket/SocketTransport.o 
+
+MDLLIBFILES = 
+
+DLLNAME = ../libdt_socket.so
+
+include $(HY_HDK)/build/make/rules.mk