This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: addr2line and the name of the executable
Mohan Embar writes:
> Hi Ranjit and Andrew,
>
> I'm getting the feeling that we're trying to converge, but not quite
> succeeding.
>
> Neither of you haven't addressed the point I made in this post:
>
> http://gcc.gnu.org/ml/java/2003-02/msg00507.html
>
> ...namely: if we change gnu.gcj.progname to unconditionally return argv[0],
> then this is inconsistent with today's behavior on, say, i?86 Linux
Good.
> where gnu.gcj.progname returns /proc/XXX/exe. For the record:
> are you both saying that you want this to be changed?
I am.
> My original intention was to only affect the mingw32 target and
> leave all other platforms untouched. I am too new to this to be
> able to assess the consequences of people relying on
> gnu.gcj.progname = /proc/XXX/exe and therefore chose to tread
> lightly with my patch.
Don't worry about it. At the moment gnu.gcj.progname does the wrong
thing. IMO...
Andrew.