gcc/libjava/include
David Daney 86acf60c5b configure.ac (INTERPRETER): New AM_CONDITIONAL.
* configure.ac (INTERPRETER): New AM_CONDITIONAL.
	* scripts/makemake.tcl (package_map): Mark jdwp and jvmti packages
	as being for interpreter only.  Place interpreter related files in
	'if INTERPRETER' block.
	(interpreter_package_files): New list.
	(interpreter_header_vars): Ditto.
	(emit_package_rule_to_list): Renamed from emit_package_rule with
	new target list parameter.
	(emit_package_rule): Rewritten to call emit_package_rule_to_list.
	(emit_interpreter_rule): New function.
	(emit_source_var): Place interpreter related files in
	interpreter_header_vars.
	* Makefile.am (ACLOCAL_AMFLAGS): Add -I libltdl.
	(libgcj_interpret_source_files): New variable.
	(libgcj_la_SOURCES): Move jvmti.cc and  interpret.cc to
	libgcj_interpret_source_files and include
	libgcj_interpret_source_files.
	(nat_jdwp_source_files): New variable.
	(nat_jvmti_source_files): Ditto.
	(nat_source_files): Move jdwp and jvmti related files to
	nat_jdwp_source_files and nat_jvmti_source_files and include
	nat_jdwp_source_files and nat_jvmti_source_files.
	* Makefile.in: Regenerate.
	* include/Makefile.in: Ditto.
	* testsuite/Makefile.in: Ditto.
	* gcj/Makefile.in: Ditto.
	* sources.am: Ditto.
	* configure: Ditto.
	* include/config.h.in: Ditto.
	* interpret.cc: Remove #ifdef INTERPRETER block.
	* stacktrace.cc (UnwindTraceFn): Do not handle proxy frames if
	interpreter disabled.
	* include/java-interp.h (_Jv_FrameType): Move outside of
	#ifdef INTERPRETER block.
	* include/execution.h (_Jv_IndirectCompiledEngine::do_get_closure_list,
	_Jv_InterpreterEngine, _Jv_soleInterpreterEngine): Place in
	#ifdef INTERPRETER block.
	* jni.cc (jvmti.h, jvmti-int.h):  Only include if INTERPRETER is
	defined.
	(_Jv_JNI_PopSystemFrame, _Jv_JNI_GetEnv): Only do jvmti processing
	if INTERPRETER is defined.
	* prims.cc (jvmti.h, jvmti-int.h, Jdwp.h, VMVirtualMachine.h):  Only
	include if INTERPRETER is defined.
	(defaultJdwpOptions, jdwpOptions, jvmti_agent_onload_func,
	jvmti_agent_onunload_func, jvmti_agentonload, jvmti_agentonunload,
	jvmti_agent_opts, load_jvmti_agent): Only define if INTERPRETER is
	defined.
	(parse_x_arg): Only process 'runjdwp:' if INTERPRETER is defined.
	(parse_init_args): Only process jvmti related options if
	INTERPRETER is defined.
	(_Jv_CreateJavaVM): Only call _Jv_JVMTI_Init if INTERPRETER is
	defined.
	(_Jv_RunMain): Only do jvmti and jdwp processing if INTERPRETER is
	defined.
	* link.cc (jvmti.h, jvmti-int.h):  Only include if INTERPRETER is
	defined.
	(_Jv_ThrowNoClassDefFoundError, _Jv_Linker::create_error_method):
	Define if if INTERPRETER is not defined.
	(_Jv_Linker::wait_for_state): Only do jvmti proccessing if
	INTERPRETER is defined.
	* boehm.cc (closure_list_pointer, finalize_closure_list,
	_Jv_ClosureListFinalizer): Only define if INTERPRETER is
	defined.
	* java/lang/natThread.cc (jvmti.h, jvmti-int.h):  Only include if
	INTERPRETER is defined.
	(finish_, _Jv_NotifyThreadStart): Only do jvmti proccessing if
	INTERPRETER is defined.
	* java/lang/Class.h (_Jv_InterpreterEngine): Move declaration
	and friend declaration inside #ifdef INTERPRETER block.
	* java/lang/natClass.cc (_Jv_ClosureList::releaseClosures,
	_Jv_ClosureList::registerClosure, _Jv_GetInterpClassSourceFile):
	Only define if INTERPRETER is defined.
	* java/lang/reflect/natVMProxy.cc (UnsupportedOperationException.h):
	Include.
	(generateProxyClass): Throw UnsupportedOperationException unless
	INTERPRETER is defined.

From-SVN: r127097
2007-07-31 16:17:21 +00:00
..
boehm-gc.h no-gc.h (_Jv_IsThreadSuspended): Declare. 2007-04-23 21:12:10 +00:00
config.h.in configure.ac (INTERPRETER): New AM_CONDITIONAL. 2007-07-31 16:17:21 +00:00
darwin-signal.h
default-signal.h
dwarf2-signal.h
execution.h configure.ac (INTERPRETER): New AM_CONDITIONAL. 2007-07-31 16:17:21 +00:00
hppa-signal.h
i386-signal.h i386-signal.h: Rewrite to use rt_sigaction. 2007-01-12 12:30:56 +00:00
java-assert.h
java-chardecomp.h
java-chartables.h
java-cpool.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
java-insns.h java-insns.h (enum java_code): Add op_breakpoint. 2006-10-14 20:11:12 +00:00
java-interp.h configure.ac (INTERPRETER): New AM_CONDITIONAL. 2007-07-31 16:17:21 +00:00
java-props.h
java-stack.h java-stack.h (_Jv_FrameInfo): Remove union definition. 2007-05-17 03:53:45 +00:00
jni_md.h re PR libgcj/30999 (support for GCC4.0's fvisibility option in JNIEXPORT macro) 2007-06-28 19:35:25 +00:00
jvm.h ffi.h.in (ffi_closure_alloc, [...]): New. 2007-03-07 07:27:25 +00:00
jvmpi.h
jvmti_md.h jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED): Define. 2007-01-29 17:43:34 +00:00
jvmti-int.h jvmti-int.h (_Jv_ReportJVMTIExceptionThrow): Declare. 2007-05-04 01:04:11 +00:00
Makefile.am
Makefile.in configure.ac (INTERPRETER): New AM_CONDITIONAL. 2007-07-31 16:17:21 +00:00
mips-signal.h mips-signal.h (sys/syscall.h): Do not include. 2006-11-20 19:49:08 +00:00
no-gc.h no-gc.h (_Jv_IsThreadSuspended): Declare. 2007-04-23 21:12:10 +00:00
no-threads.h
pa-signal.h
posix-threads.h re PR libgcj/29324 (add wait handling hook) 2007-05-12 17:37:55 +00:00
posix.h re PR libgcj/31228 (Race condition between setting close-on-exec and Runtime.exec()) 2007-03-23 00:06:41 +00:00
powerpc-signal.h
s390-signal.h
sh-signal.h
sparc-signal.h
stamp-h.in
win32-signal.h
win32-threads.h * include/win32-threads.h: Added #undef OUT. 2007-02-22 14:13:34 +00:00
win32.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
x86_64-signal.h i386-signal.h: Rewrite to use rt_sigaction. 2007-01-12 12:30:56 +00:00