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



Rather than touching c++filt or addr2line, a simpler
fix would be to fix the call to CreateProcess( ) in
java/lang/natWin32Process.cc such that it asks Windows
to not create a console for the child process if it
itself is a GUI application.

The bit about determining whether the current process
is a GUI process and the to-be-spawned process is a
console process is left as an exercise for the reader.
:-)


There is one thing that is sure: c++filt and addr2line are not GUI processes.
Why not writing a custom CreateProcess for theses 2?
Cedric




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