natVMVirtualMachine.cc (getFrameCount): Implement.

2007-02-02  Kyle Galloway  <kgallowa@redhat.com>

   * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount): Implement.

From-SVN: r121504
This commit is contained in:
Kyle Galloway 2007-02-02 15:23:20 +00:00 committed by Kyle Galloway
parent 311635d103
commit c9d607421c
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -367,9 +367,16 @@ getFrame (MAYBE_UNUSED Thread *thread, MAYBE_UNUSED::java::nio::ByteBuffer *bb)
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