/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
#include "util.h"
#include "StackFrameImpl.h"
#include "inStream.h"
#include "outStream.h"
#include "threadControl.h"
#include "FrameID.h"
static jdwpError
{
if ( error == JVMTI_ERROR_NONE ) {
if ( count > 0 ) {
} else {
}
} else {
}
return serror;
}
static jdwpError
{
if (isObjectTag(typeKey)) {
if (error != JVMTI_ERROR_NONE) {
} else {
}
} else {
/*
* For primitive types, the type key is bounced back as is.
*/
switch (typeKey) {
break;
}
break;
}
break;
break;
break;
break;
break;
}
break;
}
default:
return JDWP_ERROR(INVALID_TAG);
}
}
return map2jdwpError(error);
}
static jdwpError
{
if (isObjectTag(typeKey)) {
} else {
switch (typeKey) {
break;
break;
break;
break;
break;
break;
break;
break;
default:
return JDWP_ERROR(INVALID_TAG);
}
}
return map2jdwpError(error);
}
static jboolean
{
int i;
if (inStream_error(in)) {
return JNI_TRUE;
}
if (inStream_error(in)) {
return JNI_TRUE;
}
if (inStream_error(in)) {
return JNI_TRUE;
}
/*
* Validate the frame id
*/
return JNI_TRUE;
}
if (inStream_error(in))
break;
if (inStream_error(in))
break;
break;
}
}
return JNI_TRUE;
}
static jboolean
{
jint i;
if (inStream_error(in)) {
return JNI_TRUE;
}
if (inStream_error(in)) {
return JNI_TRUE;
}
if (inStream_error(in)) {
return JNI_TRUE;
}
/*
* Validate the frame id
*/
return JNI_TRUE;
}
if (inStream_error(in)) {
return JNI_TRUE;
}
if (inStream_error(in)) {
return JNI_TRUE;
}
break;
}
}
return JNI_TRUE;
}
static jboolean
{
if (inStream_error(in)) {
return JNI_TRUE;
}
if (inStream_error(in)) {
return JNI_TRUE;
}
/*
* Validate the frame id
*/
return JNI_TRUE;
}
/*
* Find out if the given frame is for a static or native method.
*/
if (error == JVMTI_ERROR_NONE) {
if (error == JVMTI_ERROR_NONE) {
/*
* Return null for static or native methods; otherwise, the JVM
* spec guarantees that "this" is in slot 0
*/
this_object = NULL;
} else {
if (error == JVMTI_ERROR_NONE) {
}
}
}
}
return JNI_TRUE;
}
static jboolean
{
if (inStream_error(in)) {
return JNI_TRUE;
}
if (inStream_error(in)) {
return JNI_TRUE;
}
/*
* Validate the frame id
*/
return JNI_TRUE;
}
if (threadControl_isDebugThread(thread)) {
return JNI_TRUE;
}
if (error != JVMTI_ERROR_NONE) {
}
return JNI_TRUE;
}
,(void *)getValues
,(void *)setValues
,(void *)thisObject
,(void *)popFrames
};