summaryrefslogtreecommitdiffstats
path: root/libjava/gnu/classpath/jdwp/natVMVirtualMachine.cc
Commit message (Collapse)AuthorAgeFilesLines
* * gnu/classpath/jdwp/VMFrame.java: Update from upstreamkseitz2007-03-271-10/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | classpath. * gnu/classpath/jdwp/natVMFrame.cc: Likewise. * gnu/classpath/jdwp/VMVirtualMachine.java: Likewise. * gnu/classpath/jdwp/natVMVirtualMachine.cc: Likewise. (initialize): Fix compiler type-punning warning. (getAllLoadedClasses): Return empty list instead of NULL. (getLoadRequests): Likewise. * gnu/classpath/jdwp/exception/InvalidTagException.h: New file. * gnu/classpath/jdwp/exception/InvalidSlotException.h: New file. * gnu/classpath/jdwp/exception/TypeMismatchException.h: New file. * gnu/classpath/jdwp/VMVirtualMachine.h: Rebuilt. * gnu/classpath/jdwp/value/CharValue.h: New file. * gnu/classpath/jdwp/value/LongValue.h: New file. * gnu/classpath/jdwp/value/ShortValue.h: New file. * gnu/classpath/jdwp/value/Value.h: New file. * gnu/classpath/jdwp/value/BooleanValue.h: New file. * gnu/classpath/jdwp/value/VoidValue.h: New file. * gnu/classpath/jdwp/value/ByteValue.h: New file. * gnu/classpath/jdwp/value/FloatValue.h: New file. * gnu/classpath/jdwp/value/ObjectValue.h: New file. * gnu/classpath/jdwp/value/StringValue.h: New file. * gnu/classpath/jdwp/value/ValueFactory.h: New file. * gnu/classpath/jdwp/value/IntValue.h: New file. * gnu/classpath/jdwp/value/DoubleValue.h: New file. * gnu/classpath/jdwp/VMFrame.h: Rebuilt. * gnu/classpath/jdwp/id/NullObjectId.h: New file. * gnu/classpath/jdwp/util/MethodResult.h: Rebuilt. * gnu/classpath/jdwp/util/NullObject.h: New file. * gnu/classpath/jdwp/util/MonitorInfo.h: New file. * Makefile.in: Rebuilt. * sources.am: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123266 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/java-interp.h (_Jv_InterpClass): Declarekseitz2007-03-131-2/+2
| | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122882 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/natVMVirtualMachine.cckseitz2007-02-201-19/+20
| | | | | | | | (jdwpClassPrepareCB): Move class status stuff to ... (getClassStatus): ... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122164 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/natVMVirtualMachine.cckseitz2007-02-171-0/+175
| | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122065 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-02-15 Kyle Galloway <kgallowa@redhat.com>kgallowa2007-02-151-4/+42
| | | | | | * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121997 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/natVMVirtualMachine.cckseitz2007-02-131-2/+28
| | | | | | | | | (jdwpBreakpointCB): New function. (jdwpVMInitCB): Define and enable the breakpoint callback. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121889 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/VMVirtualMachine.javakseitz2007-02-091-1/+79
| | | | | | | | | | | | | | | | | (_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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121769 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-02-08 Kyle Galloway <kgallowa@redhat.com>kgallowa2007-02-081-2/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121719 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/natVMVirtualMachine.cckseitz2007-02-051-1/+94
| | | | | | | | | (registerEvent): Implement EVENT_BREAKPOINT. (unregisterEvent): Likewise. (get_request_location): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121608 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-02-02 Kyle Galloway <kgallowa@redhat.com>kgallowa2007-02-021-2/+9
| | | | | | * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount): Implement. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121504 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):kseitz2007-01-291-8/+4
| | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121296 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/natVMVirtualMachine.cckseitz2007-01-271-14/+98
| | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121233 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.kseitz2007-01-251-0/+6
| | | | | | | | | | | * gnu/classpath/jdwp/natVMVirtualMachine.cc (_Jv_GetJDWP_JVMTIEnv): New function. * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement. (getSignature): Implement. (getModifiers): Implement. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121185 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/natVMVirtualMachine.cckseitz2007-01-241-2/+32
| | | | | | | (getAllClassMethods): Implement. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121142 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/natVMVirtualMachine.cckseitz2007-01-231-2/+8
| | | | | | | (getClassMethod): Implement. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121078 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameterskseitz2007-01-191-23/+29
| | | | | | | in methods and reformat. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120971 138bc75d-0d04-0410-961f-82ee72b054a4
* From Macro Trudel <mtrudel@gmx.ch>:kseitz2007-01-191-2/+2
| | | | | | | | * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB): Use JNICALL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120946 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):kseitz2007-01-161-0/+25
| | | | | | | | | | New macro. (ENABLE_EVENT): New macro. (initialize): Define and enable JVMTI VM_INIT callback. (jdwpVMInitCB): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120833 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Usekseitz2007-01-151-10/+8
| | | | | | | | java.lang.StringBuilder instead of java.lang.StringBuffer. (resumeThread): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120805 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/VMVirtualMachine.javakseitz2006-09-251-1/+96
| | | | | | | | | | | | (_jdwp_suspend_counts): New private variable. * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize): Initialize _jdwp_suspend_counts. (suspendThread): Implement. (resumeThread): Implement. (getSuspendCount): Implement. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117196 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/VMVirtualMachine.javakseitz2006-08-231-0/+12
| | | | | | | | | (initialize): Declare. * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize): Get and save JVMTI environment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116357 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/VMFrame.java: Update to Classpath 0.91.kseitz2006-08-041-0/+240
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115934 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud