diff options
author | Keith Seitz <kseitz@gcc.gnu.org> | 2007-01-31 23:25:39 +0000 |
---|---|---|
committer | Keith Seitz <kseitz@gcc.gnu.org> | 2007-01-31 23:25:39 +0000 |
commit | c6923d93eb220374aaa4d1880f74fb8bf178d7ea (patch) | |
tree | eb4277ca347ad0027cd2c3b4f8f751b457bc9b47 /libjava/include/jvmti-int.h | |
parent | f6671c9376c836de05883c3520d25e8f35a0fa1f (diff) | |
download | gcc-c6923d93eb220374aaa4d1880f74fb8bf178d7ea.zip gcc-c6923d93eb220374aaa4d1880f74fb8bf178d7ea.tar.gz gcc-c6923d93eb220374aaa4d1880f74fb8bf178d7ea.tar.bz2 |
jvmti-int.h (JVMTI): Declare member "enabled".
* include/jvmti-int.h (JVMTI): Declare member "enabled".
* jvmti.cc (JVMTI): Add member "enabled".
(_Jv_GetJVMTIEnv): Mark JVMTI enabled.
* interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
instead of gnu::classpath::jdwp::Jdwp::isDebugging.
(_Jv_CompileMethod): If JVMTI is enabled, use run_debug
instead of run to compile the method.
* interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
notification.
From-SVN: r121442
Diffstat (limited to 'libjava/include/jvmti-int.h')
-rw-r--r-- | libjava/include/jvmti-int.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libjava/include/jvmti-int.h b/libjava/include/jvmti-int.h index 822163a..f868655 100644 --- a/libjava/include/jvmti-int.h +++ b/libjava/include/jvmti-int.h @@ -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; |