Path: blob/aarch64-shenandoah-jdk8u272-b10/jdk/src/share/back/JDWP.h
38765 views
/*1* Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation. Oracle designates this7* particular file as subject to the "Classpath" exception as provided8* by Oracle in the LICENSE file that accompanied this code.9*10* This code is distributed in the hope that it will be useful, but WITHOUT11* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or12* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License13* version 2 for more details (a copy is included in the LICENSE file that14* accompanied this code).15*16* You should have received a copy of the GNU General Public License version17* 2 along with this work; if not, write to the Free Software Foundation,18* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.19*20* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA21* or visit www.oracle.com if you need additional information or have any22* questions.23*/2425#ifndef JDWP_JDWP_H26#define JDWP_JDWP_H2728#include "JDWPCommands.h"2930/*31* JDWPCommands.h is the javah'ed version of all the constants defined32* com.sun.tools.jdi.JDWP and all its nested classes. Since the names are33* very long, the macros below are provided for convenience.34*/3536#define JDWP_COMMAND_SET(name) JDWP_ ## name37#define JDWP_COMMAND(set, name) JDWP_ ## set ## _ ## name38#define JDWP_REQUEST_MODIFIER(name) \39JDWP_EventRequest_Set_Out_modifiers_Modifier_ ## name40#define JDWP_EVENT(name) \41JDWP_EventKind_ ## name42#define JDWP_THREAD_STATUS(name) \43JDWP_ThreadStatus_ ## name44#define JDWP_SUSPEND_STATUS(name) \45JDWP_SuspendStatus_SUSPEND_STATUS_ ## name46#define JDWP_CLASS_STATUS(name) \47JDWP_ClassStatus_ ## name48#define JDWP_TYPE_TAG(name) \49JDWP_TypeTag_ ## name50#define JDWP_TAG(name) \51JDWP_Tag_ ## name52#define JDWP_STEP_DEPTH(name) \53JDWP_StepDepth_ ## name54#define JDWP_STEP_SIZE(name) \55JDWP_StepSize_ ## name56#define JDWP_SUSPEND_POLICY(name) \57JDWP_SuspendPolicy_ ## name58#define JDWP_INVOKE_OPTIONS(name) \59JDWP_InvokeOptions_INVOKE_ ## name60#define JDWP_ERROR(name) \61JDWP_Error_ ## name62#define JDWP_HIGHEST_COMMAND_SET 1763#define JDWP_REQUEST_NONE -16465/* This typedef helps keep the event and error types straight. */66typedef unsigned short jdwpError;67typedef unsigned char jdwpEvent;68typedef jint jdwpThreadStatus;6970#endif717273