2007-02-02 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount): Implement.
From-SVN: r121504
+2007-02-02 Kyle Galloway <kgallowa@redhat.com>
+
+ * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount): Implment.
+
2007-02-02 Jakub Jelinek <jakub@redhat.com>
* configure.ac (libjava_cv_anon_version_script): New test.
jint
gnu::classpath::jdwp::VMVirtualMachine::
-getFrameCount (MAYBE_UNUSED Thread *thread)
+getFrameCount (Thread *thread)
{
- return 0;
+ jint frame_count;
+
+ jvmtiError jerr = _jdwp_jvmtiEnv->GetFrameCount (thread, &frame_count);
+
+ if (jerr != JVMTI_ERROR_NONE)
+ throw_jvmti_error (jerr);
+
+ return frame_count;
}
jint