Fri, 17 Apr 2009 15:56:31 +0100
6829575: 100028: Debug information is incomplete or missing
Summary: Enable debugging in many places
Reviewed-by: ohair
Contributed-by: Andrew Haley <aph@redhat.com>
make/Makefile | file | annotate | diff | comparison | revisions |
1.1 --- a/make/Makefile Thu Apr 16 11:23:02 2009 -0700 1.2 +++ b/make/Makefile Fri Apr 17 15:56:31 2009 +0100 1.3 @@ -105,6 +105,14 @@ 1.4 endif 1.5 endif 1.6 1.7 +ifeq ($(DEBUG_CLASSFILES), true) 1.8 + ANT_OPTIONS += -Djavac.debug=true 1.9 + ANT_OPTIONS += -Djavac.debuglevel=source,lines,vars 1.10 +else 1.11 + ANT_OPTIONS += -Djavac.debug=false 1.12 + ANT_OPTIONS += -Djavac.debuglevel= 1.13 +endif 1.14 + 1.15 # Note: jdk/make/common/Defs.gmk uses LANGUAGE_VERSION (-source NN) 1.16 # and the somewhat misnamed CLASS_VERSION (-target NN) 1.17 ifdef TARGET_CLASS_VERSION