This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ecj] Patch: Fix debuginfo for Object and Class


2006-07-12  Andrew Haley  <aph@redhat.com>

	* Makefile.am (java/lang/Object.lo): Add -fsource-filename.
	(java/lang/Class.lo): Likewise.
	* Makefile.in: Regenerate.

Index: Makefile.am
===================================================================
--- Makefile.am	(revision 115264)
+++ Makefile.am	(working copy)
@@ -327,10 +327,10 @@
 	$(LTGCJCOMPILE) -c -o $@ -fsource-filename=$(here)/classpath/lib/classes -MT $@ -MD -MP -MF $(basename $@).deps @$<
 
 java/lang/Object.lo: classpath/lib/java/lang/Object.class
-	$(LTGCJCOMPILE) -c -o $@ $<
+	$(LTGCJCOMPILE) -c -o $@ -fsource-filename=$(srcdir)/$(basename $@).java $<
 
 java/lang/Class.lo: classpath/lib/java/lang/Class.class
-	$(LTGCJCOMPILE) -c -o $@ $<
+	$(LTGCJCOMPILE) -c -o $@  -fsource-filename=$(srcdir)/$(basename $@).java $<
 
 ## ################################################################
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]