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: Debugging libgcj on cygwin


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/



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