# HG changeset patch # User aph # Date 1239980166 -3600 # Node ID a92183572d992e53e5b5c1201686f462d87e25bb # Parent 0f7fbf85f7a1d9c027a863b9955c623352ed1292 6829575: 100028: Debug information is incomplete or missing Summary: Enable debugging in many places Reviewed-by: ohair Contributed-by: Andrew Haley diff -r 0f7fbf85f7a1 -r a92183572d99 make/Makefile --- a/make/Makefile Thu Apr 16 11:22:46 2009 -0700 +++ b/make/Makefile Fri Apr 17 15:56:06 2009 +0100 @@ -69,6 +69,14 @@ endif endif +ifeq ($(DEBUG_CLASSFILES), true) + ANT_OPTIONS += -Djavac.debug=true + ANT_OPTIONS += -Djavac.debuglevel=source,lines,vars +else + ANT_OPTIONS += -Djavac.debug=false + ANT_OPTIONS += -Djavac.debuglevel= +endif + # Note: jdk/make/common/Defs.gmk uses LANGUAGE_VERSION (-source NN) # and the somewhat misnamed CLASS_VERSION (-target NN) ifdef TARGET_CLASS_VERSION diff -r 0f7fbf85f7a1 -r a92183572d99 make/build.xml --- a/make/build.xml Thu Apr 16 11:22:46 2009 -0700 +++ b/make/build.xml Fri Apr 17 15:56:06 2009 +0100 @@ -98,6 +98,7 @@ destdir="${build.classes.dir}" memoryInitialSize="${javac.memoryInitialSize}" memoryMaximumSize="${javac.memoryMaximumSize}" + debug="${javac.debug}" target="${javac.target}" excludes="com/sun/tools/internal/txw2/**">