This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Line numbers in stack traces [was: GCJ application runs not toobad with shared libs, but crasheswith] static libs - seems to be in_Jv_MonitorEnter
- From: Mark Wielaard <mark at klomp dot org>
- To: java at gcc dot gnu dot org
- Date: 01 Dec 2002 17:27:23 +0100
- Subject: Re: Line numbers in stack traces [was: GCJ application runs not toobad with shared libs, but crasheswith] static libs - seems to be in_Jv_MonitorEnter
- References: <Pine.LNX.4.44.0211211859320.10438-100000@ops2.one-point.com><001901c2924c$e75b5f10$3c16a8c0@mantatest.com> <86zns14c55.fsf@nowhere.com><1038000382.783.14.camel@elsschot><15842.3233.134299.96917@cuddles.cambridge.redhat.com><86hee292ux.fsf@nowhere.com> <86adju92pv.fsf@nowhere.com><87ptsqog3i.fsf@fleche.redhat.com> <86y97e7il2.fsf@nowhere.com><87smxmk1xh.fsf@fleche.redhat.com> <86fztm7dbg.fsf@nowhere.com><15845.55737.188935.778451@cuddles.cambridge.redhat.com><867keyt3e6.fsf@nowhere.com><15845.63522.365032.442757@cuddles.cambridge.redhat.com><3DE63B0C.5080109@bothner.com><15846.20158.92624.270460@cuddles.cambridge.redhat.com> <863cpls8ix.fsf@nowhere.com>
Hi,
Just wanted to say that I would miss line numbers greatly while
developing.
On Thu, 2002-11-28 at 22:12, Adam Megacz wrote:
> > * doesn't require additional processes to be created,
> > * removes a dependency on external tools that may not be present and
> > occasionally don't do what we want.
>
> This just means that we have to reimplement addr2line or convince the
> FSF to LGPL it so it can be included in libgcj.
Not having to depend on external processes would be very nice. Maybe it
is an idea to make a version of libgcj that includes the necessary code
from addr2line and c++filt that can then be used in combination with
GPLed programs. Non-GPLed programs could still use the less featurefull
GPL+exception implementation of libgcj, but GPLed programs would get the
nicer stacktraces.
Cheers,
Mark