aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.jvmti
AgeCommit message (Collapse)AuthorFilesLines
2009-08-12locks.h: Use atomic builtins For Linux EABI.Andrew Haley2-1/+10
2009-08-12 Andrew Haley <aph@redhat.com> * sysdep/arm/locks.h: Use atomic builtins For Linux EABI. * configure.ac: Add ATOMICSPEC. * libgcj.spec.in: Likewise. * configure.host (arm*-linux*): Add -Wno-abi to cxxflags. (testsuite/libjava.jvmti/jvmti-interp.exp): Likewise. (testsuite/libjava.jvmti/jvmti.exp): Likewise. (testsuite/libjava.jni/jni.exp): Likewise. Set ATOMICSPEC. Set LDFLAGS to work around libtool feature. From-SVN: r150702
2009-04-28* testsuite/libjava.jvmti/jvmti-interp.expDave Korn1-0/+3
(gcj_jni_compile_c_to_so): Fix so extension to '.dll' on win32. * testsuite/lib/libjava.exp (libjava_init): Likewise. * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise. (gcj_jni_test_one): Likewise. From-SVN: r146896
2008-02-15re PR testsuite/35208 (Please apply the patch in comment #19 of PR35035)Andreas Tobler1-1/+1
2008-02-15 Andreas Tobler <a.tobler@schweiz.org> PR testsuite/35208 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc (Java_getstacktrace_natRunner): Increase the usleep time to a value which prevents OS-X to get into a deadlock. From-SVN: r132342
2007-07-13[multiple changes]Andrew Haley2-3/+3
2007-07-13 Andrew Haley <aph@redhat.com> * libgcj.ver: Add __gcj_personality_sj0. * testsuite/libjava.jvmti/jvmti-interp.exp: Likewise. * testsuite/libjava.jni/jni.exp: Use -fdollars-in-identifiers. * testsuite/libjava.jni/cni.exp: Use -fdollars-in-identifiers. * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_compile_cxx_to_o): Likewise. * gnu/classpath/natVMStackWalker.cc (getCallingClassLoader): Check klass is non-null. * java/lang/reflect/natField.cc (getAddr): Call _Jv_StackTrace::GetCallingClass only if CALLER is non-null. * java/lang/reflect/natVMProxy.cc (run_proxy): Use _Jv_getFieldInternal to get field proxyClass.m. (_Jv_getFieldInternal): New function. 2007-07-11 Andrew Haley <aph@redhat.com> * configure.host (arm*-linux-gnu): New. * sysdep/arm/locks.h: New. From-SVN: r126622
2007-07-11interpret.cc (get_local_var_table): Make sure the method is compiled.Keith Seitz1-18/+18
* interpret.cc (get_local_var_table) [DIRECT_THREADED]: Make sure the method is compiled. * testsuite/libjava.jvmti/interp/getlocalvartable.out: Revise for compiled methods. From-SVN: r126556
2007-06-28jvmti-interp.exp (gij_jvmti_test_one): Fix a typo.H.J. Lu1-2/+1
2007-06-28 H.J. Lu <hongjiu.lu@intel.com> * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Fix a typo. From-SVN: r126104
2007-06-28jvmti-interp.exp (gij_jvmti_test_one): Pass the cxxldlibflags to exec_gij to ↵Andreas Tobler1-2/+3
have the right libstdc++ invoked. 2007-06-28 Andreas Tobler <a.tobler@schweiz.org> * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Pass the cxxldlibflags to exec_gij to have the right libstdc++ invoked. From-SVN: r126083
2007-06-09dummyagent.c (Agent_OnLoad): Add missing return value.Keith Seitz1-0/+1
* testsuite/libjava.jvmti/dummyagent.c (Agent_OnLoad): Add missing return value. From-SVN: r125594
2007-05-24java-interp.h (_Jv_InterpFrame::get_pc): Only deduct one when pc_ptr is ↵Keith Seitz2-5/+25
non-NULL. * include/java-interp.h (_Jv_InterpFrame::get_pc): Only deduct one when pc_ptr is non-NULL. * prims.cc (parse_init_args): Enable JVMTI with agentlib and agentpath options. * testsuite/lib/libjava.exp (exec_gij): Add new addl_flags parameter. * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Pass '-agentlib:dummyagent' when executing gij. (gij_jvmti_run): Build dummy JVMTI agent before running tests, and remove it when finished. * testsuite/libjava.jvmti/dummyagent.c: New file. From-SVN: r125040
2007-03-06jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.Kyle Galloway1-0/+3
2007-03-06 Kyle Galloway <kgallowa@redhat.com> * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters. * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc (do_getlocalvartable_tests): Add Deallocate calls to free strings. From-SVN: r122630
2007-02-21jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.Kyle Galloway5-0/+118
2007-02-21 Kyle Galloway <kgallowa@redhat.com> * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function. * testsuite/libjava.jvmti/interp/getargssize.java: New test. * testsuite/libjava.jvmti/interp/getargssize.h: Ditto. * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto. * testsuite/libjava.jvmti/interp/getargssize.out: Ditto. * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto. From-SVN: r122201
2007-02-15natVMVirtualMachine (getFrames): Implement.Kyle Galloway5-0/+258
2007-02-15 Kyle Galloway <kgallowa@redhat.com> * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement. From-SVN: r121997
2007-01-31jvmti-interp.exp (gij_jvmti_test_one): Add -shared-libgcc to the cxxflaglist ↵Andreas Tobler1-3/+10
for Darwin. 2007-01-31 Andreas Tobler <a.tobler@schweiz.org> * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add -shared-libgcc to the cxxflaglist for Darwin. From-SVN: r121438
2007-01-31getmethodname.h: New file.Keith Seitz2-0/+27
* testsuite/libjava.jvmti/getmethodname.h: New file. * testsuite/libjava.jvmti/getmethodname.jar: New file. From-SVN: r121436
2007-01-30natevents.cc (FieldModificationCB): Use a cast to print it right.Andreas Tobler1-1/+1
2007-01-30 Andreas Tobler <a.tobler@schweiz.org> * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a cast to print it right. From-SVN: r121362
2007-01-29java-interp.h: Added _Jv_Frame class and its two subclasses _Jv_InterpFrame ↵Kyle Galloway5-0/+329
and _Jv_NativeFrame. 2007-01-29 Kyle Galloway <kgallowa@redhat.com> * include/java-interp.h: Added _Jv_Frame class and its two subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved _Jv_FrameType from java-stack.h. * include/java-stack.h: Removed _Jv_FrameType. * java/lang/Thread.java: Added frame member to hold new composite frame stack. * java/lang/Thread.h: Regenerated. * java/lang/Thread.class: Rebuilt. * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when calling a JNI method. * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method. (_Jv_JVMTI_GetFrameCount): New method. * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame classes. * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test. * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test. * testsuite/libjava.jvmti/interp/getstacktrace.h: New test. * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test. * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file for test. From-SVN: r121314
2007-01-25jvmti.cc (_Jv_JVMTI_GetMethodName): New function.Keith Seitz3-0/+185
* jvmti.cc (_Jv_JVMTI_GetMethodName): New function. (_Jv_JVMTI_Interface): Define GetMethodName. * testsuite/libjava.jvmti/getmethodname.java: New file. * testsuite/libjava.jvmti/natgetmethodname.cc: New file. * testsuite/libjava.jvmti/getmethodname.out: New file. From-SVN: r121179
2007-01-25jvmti-interp.exp: New file.Kyle Galloway1-0/+158
2007-01-25 Kyle Galloway <kgallowa@redhat.com> * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file. * libjava/testsuite/libjava.jvmti/interp: New folder. * libjava/testsuite/lib/libjava.exp (exec_gij): New Method. From-SVN: r121172
2007-01-16natevents.cc (FieldModificationCB): Use %#llx instead of %d for new_value.Keith Seitz3-2/+2
* testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use %#llx instead of %d for new_value. * testsuite/libjava.jvmti/events.out: Update expected output. * testsuite/libjava.jvmti/events.jar: Regenerate. From-SVN: r120834
2007-01-16jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.Kyle Galloway5-0/+193
2007-01-16 Kyle Galloway <kgallowa@redhat.com> * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function. * testsuite/libjava.jvmti/getallthreads.java: New test. * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto. * testsuite/libjava.jvmti/getallthreads.out: Ditto. * testsuite/libjava.jvmti/getallthreads.h: Ditto. * testsuite/libjava.jvmti/getallthreads.jar: Ditto. From-SVN: r120827
2007-01-09Merged gcj-eclipse branch to trunk.Tom Tromey5-27/+77
From-SVN: r120621
2006-10-25natevents.cc (do_callback_arg_tests): Replace formatting modifiers %p with ↵Andreas Tobler1-60/+92
%#llx and cast the arguments. 2006-10-25 Andreas Tobler <a.tobler@schweiz.org> * testsuite/libjava.jvmti/natevents.cc (do_callback_arg_tests): Replace formatting modifiers %p with %#llx and cast the arguments. From-SVN: r118040
2006-10-20natevents.cc (do_callback_arg_tests): Correctly pass jvalues.Tom Tromey1-2/+6
* testsuite/libjava.jvmti/natevents.cc (do_callback_arg_tests): Correctly pass jvalues. From-SVN: r117913
2006-10-17natevents.cc (env): Delete.Geoffrey Keating1-18/+16
* testsuite/libjava.jvmti/natevents.cc (env): Delete. (ExceptionCB): Fix types for printf arguments. (ExceptionCatchCB): Likewise. (SingleStepCB): Likewise. (BreakpointCB): Likewise. (FieldAccessCB): Likewise. (FieldModificationCB): Likewise. (CompiledMethodLoadCB): Likewise. From-SVN: r117817
2006-09-22jvmti.cc (_Jv_JVMTI_DisposeEnvironment): Check for enabled events.Keith Seitz3-0/+615
* jvmti.cc (_Jv_JVMTI_DisposeEnvironment): Check for enabled events. (check_enabled_event): New function. (check_enabled_events): New function. (post_event): New function. (_Jv_JVMTI_SetEventNotificationMode): New function. (_Jv_JVMTI_SetEventCallbacks): New function. (_Jv_JVMTI_Interface): Define SetEventNotificationMode and SetEventCallbacks members. * include/jvmti-int.h: New file. * include/jvmti_md.h (EVENT_SLOTS) [__GCJ_JNI_IMP__]: Define. (_CLASSPATH_JVMTIENV_CONTENTS) [__GCJ_JNI_IMPL__]: Define. * testsuite/libjava.jvmti/events.java: New file. * testsuite/libjava.jvmti/events.out: New file. * testsuite/libjava.jvmti/natevents.cc: New file. From-SVN: r117133
2006-09-20jvmti.cc (_Jv_JVMTI_GetErrorName): New function.Keith Seitz3-0/+137
* jvmti.cc (_Jv_JVMTI_GetErrorName): New function. (_Jv_JVMTI_Interface): Define GetErrorName member. * testsuite/libjava.jvmti/geterrorname.java: New file. * testsuite/libjava.jvmti/geterrorname.out: New file. * testsuite/libjava.jvmti/natgeterrorname.cc: New file. From-SVN: r117086
2006-09-19* testsuite/libjava.jvmti/jvmti.exp: New file.Keith Seitz1-0/+122
From-SVN: r117065