jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED): Define.
* include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
Define.
[__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
gcj. All jvmti object types now are defined to be their
corresponding java classes.
* jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
jthread to Thread*.
(_Jv_JVMTI_ResumeThread): Likewise.
(_Jv_JVMTI_InterruptThread): Likewise.
(_Jv_JVMTI_SetEventNotificationMode): Likewise.
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(jdwpClassPrepareCB): Likewise.
(jdwpThreadEndCB): Likewise.
(jdwpThreadStartCB): Likewise.
(jdwpVMInitCB): Likewise.
From-SVN: r121296
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* jvmti_md.h
|
||||
Copyright (C) 2006 Free Software Foundation, Inc.
|
||||
Copyright (C) 2006, 2007 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
||||
@@ -53,6 +53,14 @@ executable file might be covered by the GNU General Public License. */
|
||||
/* One for each callback. */ \
|
||||
bool enabled[EVENT_SLOTS];
|
||||
|
||||
/* Redefine the standard JVMTI types to something a little more
|
||||
precise than "jobject". */
|
||||
#define _CLASSPATH_VM_JVMTI_TYPES_DEFINED
|
||||
typedef java::lang::Thread *jthread;
|
||||
typedef java::lang::ThreadGroup *jthreadGroup;
|
||||
typedef jlong jlocation;
|
||||
typedef struct _Jv_rawMonitorID *jrawMonitorID;
|
||||
|
||||
#endif /* __GCJ_JNI_IMPL__ */
|
||||
|
||||
#endif /* __GCJ_JVMTI_MD_H__ */
|
||||
|
||||
Reference in New Issue
Block a user