src/native/vm/VMVirtualMachine.c (suspendThread): print error message with printjvmti...
authormotse <none@none>
Wed, 31 May 2006 13:53:16 +0000 (13:53 +0000)
committermotse <none@none>
Wed, 31 May 2006 13:53:16 +0000 (13:53 +0000)
commit94fa59c2bdbe7b066d7bcabaacc4f19914b434ba
tree54f1a3b87ee28cd6f24aa423348fea70f08d7ad6
parent1c358e4a6bdf4c867ca5023f1afb0d9fecf166a6
src/native/vm/VMVirtualMachine.c (suspendThread): print error message with printjvmtierror
(resumeThread): idem
(getAllLoadedClassCount): idem
(getAllLoadedClasses): idem
(getClassStatus): idem
(getAllClassMethods): idem
(getFrameCount): idem
(getThreadStatus): idem
(getSourceFile): idem
(registerEvent): idem

src/native/vm/VMMethod.c (printjvmtierror): new helper function for getting and print error messages
(getName): print error message with printjvmtierror, remove signature, generic signature
(getSignature): print error message with printjvmtierror, remove name, generic signature
(getModifiers): print error message with printjvmtierror
(getlinetable): idem
(fillVariableTable): new function for converting jvmtiLocalVariableEntry to arguments for gnu.classpath.jdwp.util.VariableTable constructor
(getVariableTable): new implementation. tries to get local variable table and return gnu.classpath.jdwp.util.VariableTable.

src/native/include/Makefile.am: add VariableTable

src/native/jvmti/VMjdwp.c (printjvmtierror) new function (duplicate) - this is a work around
(VMInit): print error message with printjvmtierror

src/native/jvmti/jvmti.c (InterruptThread): new implentation
(GetThreadInfo): switch form using javastring_tochar (uses malloc) to javastring_toutf/utf_sprint_convert_to_latin1
(GetOwnedMonitorInfo): fix error handling
(GetFrameLocation): idem
(DestroyRawMonitor): use heap_free
(GetClassSignature): fix error handling
(GetSourceFileName): use utf_bytes
(GetFieldName): fix error handling
(GetFieldDeclaringClass): add error handling
(GetFieldModifiers): idem
(GetMethodName): fix error handling
(GetClassLoaderClasses): idem
(GenerateEvents): add CHECK_CAPABILITY can_generate_compiled_method_load_events

src/native/jvmti/VMjdwp.h add printjvmtierror
src/native/include/Makefile.am
src/native/jvmti/Makefile.am
src/native/jvmti/VMjdwp.c
src/native/jvmti/VMjdwp.h
src/native/jvmti/jvmti.c
src/native/vm/VMFrame.c
src/native/vm/VMMethod.c
src/native/vm/VMVirtualMachine.c