Keith Seitz
bde6c7a990
java-interp.h (_Jv_InterpClass): Declare friend function _Jv_GetInterpClassSourceFile.
...
* include/java-interp.h (_Jv_InterpClass): Declare
friend function _Jv_GetInterpClassSourceFile.
* java/lang/Class.h (Class): Likewise.
* java/lang/natClass.cc (_Jv_GetInterpClassSourceFile):
New function.
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(getSourceFile): Implement.
From-SVN: r122882
2007-03-13 19:27:13 +00:00
Kyle Galloway
009403e6f0
AbsentInformationException.java: New file.
...
2007-03-06 Kyle Galloway <kgallowa@redhat.com>
* classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
* classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto.
* gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto.
* gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro.
(VMMethod::getLineTable): Use new macro.
(VMMethod::getVariableTable): Implement.
* sources.am: Regenerated.
* Makefile.in: Ditto.
From-SVN: r122639
2007-03-06 21:09:22 +00:00
Keith Seitz
cc0c8dbc93
* gnu/classpath/jdwp/natVMVirtualMachine.cc
...
(jdwpClassPrepareCB): Move class status stuff to ...
(getClassStatus): ... here.
From-SVN: r122164
2007-02-20 14:08:49 +00:00
Keith Seitz
8e53f957a1
* gnu/classpath/jdwp/natVMVirtualMachine.cc
...
(get_line_table): New function.
(handle_single_step): New function.
(jdwpSingleStepCB): New function.
(jdwpVMInitCB): Define a JVMTI single step
callback, but don't enable it until needed.
From-SVN: r122065
2007-02-17 01:21:28 +00:00
David Daney
31429fbc3c
PlainSocketImpl.h: Regenerate.
...
* gnu/java/net/PlainSocketImpl.h: Regenerate.
* gnu/classpath/jdwp/VMVirtualMachine.h: Same.
* gnu/classpath/jdwp/VMFrame.h: Same.
* java/net/Socket.h: Same.
* java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
From-SVN: r122006
2007-02-15 17:03:49 +00:00
Kyle Galloway
fc01261a60
natVMVirtualMachine (getFrames): Implement.
...
2007-02-15 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
From-SVN: r121997
2007-02-15 14:49:50 +00:00
Keith Seitz
a13c5b70a4
* gnu/classpath/jdwp/natVMVirtualMachine.cc
...
(jdwpBreakpointCB): New function.
(jdwpVMInitCB): Define and enable the breakpoint
callback.
From-SVN: r121889
2007-02-13 18:57:01 +00:00
Keith Seitz
410b0a2c94
* gnu/classpath/jdwp/VMVirtualMachine.java
...
(_stepping_threads): New member.
* classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
Regenerated.
* gnu/classpath/jdwp/VMVirtualMachine.h:
Regenerated.
* gnu/claspath/jdwp/natVMVirtualMachine.cc
(get_request_step_filter): New function.
(DISABLE_EVENT): New macro.
(initialize): Initialize _stepping_threads.
(registerEvent): Implement EVENT_SINGLE_STEP.
(unregisterEvent): Likewise.
From-SVN: r121769
2007-02-09 18:43:21 +00:00
Kyle Galloway
0588f8c8db
StackFrameCommandSet.java (executeGetValues): Pass jlong instead of ByteBuffer.
...
2007-02-08 Kyle Galloway <kgallowa@redhat.com>
* classpath/gnu/classpath/jdwp/processor/
StackFrameCommandSet.java (executeGetValues): Pass jlong instead
of ByteBuffer.
(executeSetValues): Ditto.
(executeThisObject): Ditto.
* classpath/gnu/classpath/jdwp/processor/
StackFrameCommandSet.class: Rebuilt.
* classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
Rebuilt.
* classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
* classpath/lib/gnu/classpath/jdwp/exception/
InvalidFrameException.java: New file.
* gnu/classpath/jdwp/VMFrame.java: Added field for thread of
frame.
(Constructor): New method.
* gnu/classpath/jdwp/VMFrame.h: Regenerated.
* gnu/classpath/jdwp/VMVirtualMachine.java
(getFrame): Changed ByteBuffer to jlong.
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(getFrame): Implement.
* gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
From-SVN: r121719
2007-02-08 18:21:00 +00:00
Keith Seitz
072d019dfc
* gnu/classpath/jdwp/natVMVirtualMachine.cc
...
(registerEvent): Implement EVENT_BREAKPOINT.
(unregisterEvent): Likewise.
(get_request_location): New function.
From-SVN: r121608
2007-02-05 20:56:47 +00:00
Kyle Galloway
c9d607421c
natVMVirtualMachine.cc (getFrameCount): Implement.
...
2007-02-02 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount): Implement.
From-SVN: r121504
2007-02-02 15:23:20 +00:00
Keith Seitz
68254f23e8
jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED): Define.
...
* include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
Define.
[__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
gcj. All jvmti object types now are defined to be their
corresponding java classes.
* jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
jthread to Thread*.
(_Jv_JVMTI_ResumeThread): Likewise.
(_Jv_JVMTI_InterruptThread): Likewise.
(_Jv_JVMTI_SetEventNotificationMode): Likewise.
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(jdwpClassPrepareCB): Likewise.
(jdwpThreadEndCB): Likewise.
(jdwpThreadStartCB): Likewise.
(jdwpVMInitCB): Likewise.
From-SVN: r121296
2007-01-29 17:43:34 +00:00
Keith Seitz
ea6244280b
* gnu/classpath/jdwp/natVMVirtualMachine.cc
...
(getAllClassMethods): Move error handling to ...
(throw_jvmti_error): ... here.
(jdwpClassPrepareCB): New function.
(jdwpThreadEndCB): New function.
(jdwpThreadStartCB): New function.
(jdwpVMDeathCB): New function.
(jdwpVMInitCB): Define and enable callbacks for
ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
From-SVN: r121233
2007-01-27 16:34:32 +00:00
Keith Seitz
161a649cb9
jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
...
* include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(_Jv_GetJDWP_JVMTIEnv): New function.
* gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
(getSignature): Implement.
(getModifiers): Implement.
From-SVN: r121185
2007-01-25 21:05:18 +00:00
Keith Seitz
c65110e44c
* gnu/classpath/jdwp/natVMVirtualMachine.cc
...
(getAllClassMethods): Implement.
From-SVN: r121142
2007-01-24 22:35:43 +00:00
Keith Seitz
c56b658bde
* gnu/classpath/jdwp/natVMVirtualMachine.cc
...
(getClassMethod): Implement.
From-SVN: r121078
2007-01-23 06:40:49 +00:00
Keith Seitz
6c798f4fc1
natVMFrame.cc: Mark unused parameters with MAYBE_UNUSED.
...
* gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
MAYBE_UNUSED.
From-SVN: r120972
2007-01-19 17:46:57 +00:00
Keith Seitz
80e9603862
natVMVirtualMachine.cc: Mark unused parameters in methods and reformat.
...
* gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
in methods and reformat.
From-SVN: r120971
2007-01-19 17:20:21 +00:00
Keith Seitz
640f891823
From Macro Trudel <mtrudel@gmx.ch>:
...
* gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
Use JNICALL.
From-SVN: r120946
2007-01-19 01:19:04 +00:00
Keith Seitz
f031b5d726
natVMVirtualMachine.cc (DEFINE_CALLBACK): New macro.
...
* gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
New macro.
(ENABLE_EVENT): New macro.
(initialize): Define and enable JVMTI VM_INIT callback.
(jdwpVMInitCB): New function.
From-SVN: r120833
2007-01-16 19:54:16 +00:00
Keith Seitz
e9d59899de
natVMVirtualMachine.cc (suspendThread): Use java.lang.StringBuilder instead of java.lang.StringBuffer.
...
* gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
java.lang.StringBuilder instead of java.lang.StringBuffer.
(resumeThread): Likewise.
From-SVN: r120805
2007-01-15 23:38:35 +00:00
Tom Tromey
97b8365caf
Merged gcj-eclipse branch to trunk.
...
From-SVN: r120621
2007-01-09 19:58:05 +00:00
Keith Seitz
4cb1c1c396
* gnu/classpath/jdwp/natVMMethod.cc (getLineTable): Implement.
...
From-SVN: r118420
2006-11-02 17:01:01 +00:00
Keith Seitz
291ad36e62
* gnu/classpath/jdwp/VMVirtualMachine.java
...
(_jdwp_suspend_counts): New private variable.
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(initialize): Initialize _jdwp_suspend_counts.
(suspendThread): Implement.
(resumeThread): Implement.
(getSuspendCount): Implement.
From-SVN: r117196
2006-09-25 17:08:05 +00:00
Keith Seitz
a4d0390b44
* gnu/classpath/jdwp/VMVirtualMachine.java
...
(initialize): Declare.
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(initialize): Get and save JVMTI environment.
From-SVN: r116357
2006-08-23 22:18:08 +00:00
Keith Seitz
27d8ff9b83
VMFrame.java: Update to Classpath 0.91.
...
* gnu/classpath/jdwp/VMFrame.java: Update to Classpath 0.91.
* gnu/classpath/jdwp/VMIdManager.java: Likewise.
* gnu/classpath/jdwp/VMMethod.java: Likewise.
* gnu/classpath/jdwp/VMVirtualMachine: Likewise.
* gnu/classpath/jdwp/natVMFrame.java: New file.
* gnu/classpath/jdwp/natVMMethod.java: New file.
* gnu/classpath/jdwp/natVMVirtualMachine.java: New file.
* Makefile.am (nat_source_files): Add new filles.
* Makefile.in: Regenerated.
From-SVN: r115934
2006-08-04 20:34:02 +00:00
Mark Wielaard
4f9533c772
Imported GNU Classpath 0.90
...
Imported GNU Classpath 0.90
* scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale.
* sources.am: Regenerated.
* gcj/javaprims.h: Regenerated.
* Makefile.in: Regenerated.
* gcj/Makefile.in: Regenerated.
* include/Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.
* gnu/java/lang/VMInstrumentationImpl.java: New override.
* gnu/java/net/local/LocalSocketImpl.java: Likewise.
* gnu/classpath/jdwp/VMMethod.java: Likewise.
* gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest
interface.
* java/lang/Thread.java: Add UncaughtExceptionHandler.
* java/lang/reflect/Method.java: Implements GenericDeclaration and
isSynthetic(),
* java/lang/reflect/Field.java: Likewise.
* java/lang/reflect/Constructor.java
* java/lang/Class.java: Implements Type, GenericDeclaration,
getSimpleName() and getEnclosing*() methods.
* java/lang/Class.h: Add new public methods.
* java/lang/Math.java: Add signum(), ulp() and log10().
* java/lang/natMath.cc (log10): New function.
* java/security/VMSecureRandom.java: New override.
* java/util/logging/Logger.java: Updated to latest classpath
version.
* java/util/logging/LogManager.java: New override.
From-SVN: r113887
2006-05-18 17:29:21 +00:00
Mark Wielaard
8aa540d2f7
Imported GNU Classpath 0.90
...
Imported GNU Classpath 0.90
* scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
* gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
* java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
* java/lang/Math.java: New override file.
* java/lang/Character.java: Merged from Classpath.
(start, end): Now 'int's.
(canonicalName): New field.
(CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
(UnicodeBlock): Added argument.
(of): New overload.
(forName): New method.
Updated unicode blocks.
(sets): Updated.
* sources.am: Regenerated.
* Makefile.in: Likewise.
From-SVN: r111942
2006-03-10 21:46:48 +00:00
Tom Tromey
1ea63ef8be
Imported Classpath 0.18.
...
* sources.am, Makefile.in: Updated.
* Makefile.am (nat_source_files): Removed natProxy.cc.
* java/lang/reflect/natProxy.cc: Removed.
* gnu/classpath/jdwp/VMFrame.java,
gnu/classpath/jdwp/VMIdManager.java,
gnu/classpath/jdwp/VMVirtualMachine.java,
java/lang/reflect/VMProxy.java: New files.
2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
* scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC
list.
2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/net/DefaultContentHandlerFactory.java (getContent):
Remove ClasspathToolkit references.
2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/awt/xlib/XCanvasPeer.java: Add new peer methods.
* gnu/awt/xlib/XFramePeer.java: Likewise.
* gnu/awt/xlib/XGraphicsConfiguration.java: Likewise.
2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
* Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c. Add
classpath/native/jawt/jawt.c.
* Makefile.in: Regenerate.
* jawt.c: Remove file.
* include/Makefile.am (tool_include__HEADERS): Remove jawt.h and
jawt_md.h. Add ../classpath/include/jawt.h and
../classpath/include/jawt_md.h.
* include/Makefile.in: Regenerate.
* include/jawt.h: Regenerate.
* include/jawt_md.h: Regenerate.
From-SVN: r104586
2005-09-23 21:31:04 +00:00
Tom Tromey
b0fa81eea9
Major merge with Classpath.
...
Removed many duplicate files.
* HACKING: Updated.x
* classpath: Imported new directory.
* standard.omit: New file.
* Makefile.in, aclocal.m4, configure: Rebuilt.
* sources.am: New file.
* configure.ac: Run Classpath configure script. Moved code around
to support. Disable xlib AWT peers (temporarily).
* Makefile.am (SUBDIRS): Added 'classpath'
(JAVAC): Removed.
(AM_CPPFLAGS): Added more -I options.
(BOOTCLASSPATH): Simplified.
Completely redid how sources are built.
Include sources.am.
* include/Makefile.am (tool_include__HEADERS): Removed jni.h.
* include/jni.h: Removed (in Classpath).
* scripts/classes.pl: Updated to look at built classes.
* scripts/makemake.tcl: New file.
* testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
-I options.
(gcj_jni_invocation_compile_c_to_binary): Likewise.
From-SVN: r102082
2005-07-16 01:27:14 +00:00
Aaron Luchko
b11e14262e
VirtualMachineCommandSet.java: Implemented VirtualMachine Command Set.
...
* gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
Implemented VirtualMachine Command Set.
From-SVN: r102026
2005-07-14 17:25:32 +00:00
Aaron Luchko
d7f15b932b
FieldCommandSet.java: Implemented the Field CommandSet.
...
* gnu/classpath/jdwp/processor/FieldCommandSet.java:
Implemented the Field CommandSet.
* gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
Implemented the InterfaceType CommandSet.
From-SVN: r101951
2005-07-12 23:41:45 +00:00
Aaron Luchko
04be5ce5ec
PacketProcessor.java (run): Send shutdown to jdwp instead of connection.
...
* gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
shutdown to jdwp instead of connection.
From-SVN: r101936
2005-07-12 19:29:37 +00:00
Aaron Luchko
87bd8b7067
ObjectReferenceCommandSet.java: New file.
...
* gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
New file.
From-SVN: r101935
2005-07-12 18:30:25 +00:00
Aaron Luchko
caa54b82ca
* gnu/classpath/jdwp/util/Signature.java
...
(computeFieldSignature): New Method.
From-SVN: r101745
2005-07-07 23:16:37 +00:00
Aaron Luchko
bde1427e3b
* gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
...
file.
From-SVN: r101730
2005-07-07 20:54:04 +00:00
Aaron Luchko
2d95cce3c9
StringReferenceCommandSet.java: New file.
...
* gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
New file.
From-SVN: r101628
2005-07-05 17:26:38 +00:00
Aaron Luchko
3bea4ad0e9
CommandSet.java: New file.
...
* gnu/classpath/jdwp/processor/CommandSet.java: New file.
* gnu/classpath/jdwp/processor/PacketProcessor.java: Use
CommandSets to handle JdwpCommandPackets.
* gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
Constructor.
From-SVN: r101601
2005-07-04 16:08:16 +00:00
Aaron Luchko
5ed32b3871
* gnu/classpath/jdwp/util/JdwpString.java: New file.
...
From-SVN: r101482
2005-06-30 23:19:36 +00:00
Keith Seitz
afe8d701ba
JdwpPacket.java (write): New method.
...
* gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
(myWrite): New abstract method.
(toBytes): Remove.
(myToBytes): Remove.
* gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
method.
* gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
method.
* gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
JdwpPacket.write instead of JdwpPacket.toBytes.
From-SVN: r101472
2005-06-30 18:05:10 +00:00
Keith Seitz
1b0618bfe6
JdwpConnection.java (sendEvent): New method.
...
* gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
method.
(_bytes): New member.
(_doStream): New member.
(JdwpConnection): Initialize new members.
From-SVN: r101471
2005-06-30 18:00:25 +00:00
Kelley Cook
917b04f492
Update FSF address
...
From-SVN: r101453
2005-06-30 03:22:09 +00:00
Keith Seitz
d994b336c8
Okay, let's see if CVS can actually put these in the right place...
...
* gnu/classpath/jdwp/exception/VmDeadException.java: New file.
* gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
* gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
file.
* gnu/classpath/jdwp/exception/JdwpException.java: New file.
* gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
file.
* gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
* gnu/classpath/jdwp/exception/InvalidStringException.java: New file
* gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
* gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
file.
* gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
* gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
From-SVN: r101357
2005-06-27 18:02:48 +00:00
Keith Seitz
8813ac2634
JdwpIdFactory.java: New file.
...
* gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
* gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
From-SVN: r100970
2005-06-15 03:10:31 +00:00
Keith Seitz
ad1f3d7a34
ArrayId.java: New file.
...
* gnu/classpath/jdwp/id/ArrayId.java: New file.
* gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
* gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
* gnu/classpath/jdwp/id/ClassObjectId.java: New file.
* gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
* gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
* gnu/classpath/jdwp/id/JdwpId.java: New file.
* gnu/classpath/jdwp/id/ObjectId.java: New file.
* gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
* gnu/classpath/jdwp/id/StringId.java: New file.
* gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
* gnu/classpath/jdwp/id/ThreadId.java: New file.
From-SVN: r100913
2005-06-14 00:28:08 +00:00
Keith Seitz
2e42af0555
* gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
...
From-SVN: r100688
2005-06-07 01:18:02 +00:00
Keith Seitz
25b1f7fc35
* gnu/classpath/jdwp/util/Signature.java: New file.
...
From-SVN: r100687
2005-06-07 00:57:03 +00:00
Keith Seitz
fd693ba3cc
* gnu/classpath/jdwp/transport/TransportFactory.java: New file.
...
From-SVN: r100556
2005-06-03 22:21:52 +00:00
Keith Seitz
658a82f8ed
ITransport.java: New file.
...
* gnu/classpath/jdwp/transport/ITransport.java: New file.
* gnu/classpath/jdwp/transport/SocketTransport.java: New file.
From-SVN: r100553
2005-06-03 20:56:09 +00:00
Keith Seitz
7f03307f8e
* gnu/classpath/jdwp/transport/TransportException.java: New file.
...
From-SVN: r100496
2005-06-02 17:27:34 +00:00