changeset 4923:7b5a83a6b6ea

7160895: tools/launcher/VersionCheck.java attempts to launch .debuginfo Summary: Do not install .debuginfo files in bin dir. Reviewed-by: ksrini, sspitsyn
author dcubed
date Wed, 18 Apr 2012 09:56:58 -0700
parents 3976159926d7
children e11d64c07182 15c00ee70f48
files make/common/Program.gmk
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/Program.gmk	Wed Apr 18 09:54:16 2012 -0700
+++ b/make/common/Program.gmk	Wed Apr 18 09:56:58 2012 -0700
@@ -268,6 +268,11 @@
 	   $(ZIPEXE) -q $(@F).diz $(@F).debuginfo ; \
 	   $(RM) $(@F).debuginfo ; \
 	  )
+          # save ZIP'ed debug info with rest of the program's build artifacts
+	  $(MV) $@.diz $(OBJDIR)
+        else
+          # save debug info with rest of the program's build artifacts
+	  $(MV) $@.debuginfo $(OBJDIR)
         endif
       endif # PROGRAM_SUPPORTS_FULL_DEBUG_SYMBOLS
     endif # ENABLE_FULL_DEBUG_SYMBOLS