This is the mail archive of the java@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: c++filt causing flashing console windows


> > -Dgnu.gcj.runtime.NameFinder.demangle=false
> > -Dgnu.gcj.runtime.NameFinder.use_addr2line=false
>
>Surely the bug is not here.  exec'ing c++filt and addr2line 
>should not cause anything to flash, and that is the bug.

Flashing isn't a very accurate technical term, I guess. :-)

When a GCJ application compiled with w/-mwindows
launches a console application (e.g. addr2line), a console
window is created for that application. addr2line executes
in no time at all, thus the console window is there only for
a brief amount of time. This brief appearance of a console
window was described as "flashing windows" in a bug-report
I received on my application. 

I don't know enough about launching .exe's under GCJ/Windows/Java
to comment on whether this is the approperiate behaviour when
launching console applications w/-mwindows(Suns JRE equivalent
would be javaw).

It seems Ranjit and some other guys are investigating
whether or not the reliance on addr2line and c++filt could
be removed for dumpStackTrace().

Anyway, the above two options to the GCJ command line speeds
me right along on my quest. :-)

Øyvind


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