A java DEBUG flag

Brian Jones cbj@gnu.org
Mon Nov 27 16:10:00 GMT 2000


Bryce McKinlay <bryce@albatross.co.nz> writes:

> Brian Jones wrote:
> 
> > > Bryce> I propose an interface (this ensures that only constants can be
> > > Bryce> defined) called gnu.classpath.Flags (or CompileSettings?
> > > Bryce> DebugFlags?)
> >
> > Seems like a good idea to me.  Will you be modifying the configure
> > system so that the debugging can be toggled (--enable-debugging) or
> > should I?
> 
> I was planning to look at classpath's configure and mirror the changes
> there, but if you want to do it that would be even better ;-)
> 
> For reference, the libgcj patch is here:
> 
> http://sources.redhat.com/ml/java-patches/2000-q4/msg00128.html

Thanks, the attached is the patch to classpath for the same.  I've
left the arguments to configure the same... seems like
--enable-java-debug should add '-g' to put debug symbols in class
files... and I couldn't really change the define in the java file
anyway without breaking gcj...

Brian
-- 
Brian Jones <cbj@gnu.org>



More information about the Java mailing list