* Fid debug info in many gcj files
@ 2007-01-24 12:31 Andrew Haley
2007-02-06 17:14 ` Andrew Haley
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Haley @ 2007-01-24 12:31 UTC (permalink / raw)
To: java-patches
We are compiling all indirect-dispatch classes with no full pathnames
in the debuginfo. As a result, gdb can't find the source files for
any of these classes.
Andrew.
2007-01-24 Andrew Haley <aph@redhat.com>
* scripts/makemake.tcl (emit_bc_rule): Set the source filename.
* sources.am: Rebuild.
Index: scripts/makemake.tcl
===================================================================
--- scripts/makemake.tcl (revision 121108)
+++ scripts/makemake.tcl (working copy)
@@ -248,7 +248,7 @@
set omit "| grep -v $exclusion_map($package)"
}
puts "\t@find \$(srcdir)/classpath/lib/$package -name '*.class'${omit} > $tname"
- puts "\t\$(LTGCJCOMPILE) -fjni -findirect-dispatch -fno-indirect-classes -c -o $loname @$tname"
+ puts "\t\$(LTGCJCOMPILE) -fsource-filename=\$(here)/classpath/lib/classes -fjni -findirect-dispatch -fno-indirect-classes -c -o $loname @$tname"
puts "\t@rm -f $tname"
puts ""
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fid debug info in many gcj files
2007-01-24 12:31 Fid debug info in many gcj files Andrew Haley
@ 2007-02-06 17:14 ` Andrew Haley
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Haley @ 2007-02-06 17:14 UTC (permalink / raw)
To: java-patches
Sigh. I didn't check this one in last time. Retrying.
Andrew.
2007-01-24 Andrew Haley <aph@redhat.com>
* scripts/makemake.tcl (emit_bc_rule): Set the source filename.
* sources.am: Rebuild.
Index: scripts/makemake.tcl
===================================================================
--- scripts/makemake.tcl (revision 121108)
+++ scripts/makemake.tcl (working copy)
@@ -248,7 +248,7 @@
set omit "| grep -v $exclusion_map($package)"
}
puts "\t@find \$(srcdir)/classpath/lib/$package -name '*.class'${omit} > $tname"
- puts "\t\$(LTGCJCOMPILE) -fjni -findirect-dispatch -fno-indirect-classes -c -o $loname @$tname"
+ puts "\t\$(LTGCJCOMPILE) -fsource-filename=\$(here)/classpath/lib/classes -fjni -findirect-dispatch -fno-indirect-classes -c -o $loname @$tname"
puts "\t@rm -f $tname"
puts ""
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-02-06 17:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-24 12:31 Fid debug info in many gcj files Andrew Haley
2007-02-06 17:14 ` Andrew Haley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).