This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [RFC] Fix PR38892: "--enable-libgcj-debug" breaks bootstrap.
- From: Tom Tromey <tromey at redhat dot com>
- To: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: Wed, 22 Apr 2009 16:51:25 -0600
- Subject: Re: [RFC] Fix PR38892: "--enable-libgcj-debug" breaks bootstrap.
- References: <49EF6F29.2000601@gmail.com>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Dave" == Dave Korn <dave.korn.cygwin@googlemail.com> writes:
Dave> 32 static jboolean DEBUG;
Dave> ... you can probably guess immediately what went wrong:
Whoops.
Dave> One solution that occurred to me was to rename the
Dave> preprocesser macro to (e.g.) "__GCJ_DEBUG" throughout.
Yeah, just GCJ_DEBUG would be fine.
Dave> Another solution that occurred to me was to rename the java
Dave> class members to (e.g.) "JDEBUG" throughout.
This is more of a pain since it means putting the patch in Classpath
as well. I think it should be simpler to just change the libgcj
native code.
Tom