Debugging libgcj on cygwin

Ranjit Mathew rmathew@hotmail.com
Fri Jul 11 05:29:00 GMT 2003


Jeff Sturm wrote:
> My real concern is that boehm-gc doesn't seem to handle posix threads for
> cygwin. However a plain no-threads build should test OK in libjava.
>> BTW I tried a full bootstrap & check running cygwin on a win2k box; do you
> know how to avoid the popup dialogs for each faild executable? It makes
> it difficult to run an automated testsuite.

I'm hazarding a guess here that you are referring to the
dialogue boxes thrown up by Boehm-GC. In that case, you
can look at boehm-gc/misc.c (GC_abort) to "fix" it.
Not sure if Cygwin uses the "normal" Win32 code or the
POSIX code, but the Win32 portions also contain dialogue
box pop-ups - notably in libjava/win32.cc
(_Jv_platform_initialize), libjava/win32-threads.cc
(_Jv_ThreadInterrupt), etc. - just search for
"MessageBox" in the sources.
Ranjit.
-- 
Ranjit Mathew Email: rmathew AT hotmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.tripod.com/


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /