aboutsummaryrefslogtreecommitdiff
path: root/libjava/include/jvmti-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/include/jvmti-int.h')
-rw-r--r--libjava/include/jvmti-int.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/libjava/include/jvmti-int.h b/libjava/include/jvmti-int.h
index f88b4ce0a3a..6b09c837659 100644
--- a/libjava/include/jvmti-int.h
+++ b/libjava/include/jvmti-int.h
@@ -1,5 +1,5 @@
/* jvmti-int.h -- Internal JVMTI definitions
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006, 2007 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -37,6 +37,10 @@ executable file might be covered by the GNU General Public License. */
False means no JVMTI environment requested that event type. */
namespace JVMTI
{
+ // Is JVMTI enabled? (i.e., any jvmtiEnv created?)
+ extern bool enabled;
+
+ // Event notifications
extern bool VMInit;
extern bool VMDeath;
extern bool ThreadStart;
@@ -82,4 +86,9 @@ namespace JVMTI
For speed, this function should only be called after
JVMTI_REQUESTED_EVENT is checked. */
extern void _Jv_JVMTI_PostEvent (jvmtiEvent type, jthread event_thread, ...);
+// Returns the jvmtiEnv used by the JDWP backend
+extern jvmtiEnv *_Jv_GetJDWP_JVMTIEnv (void);
+
+// Reports JVMTI excpetions
+extern void _Jv_ReportJVMTIExceptionThrow (jthrowable);
#endif /* __GCJ_JVMTI_INT_H__ */