harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Egor Pasko <egor.pa...@gmail.com>
Subject Re: [drlvm] How to debug the drlvm with gdb?
Date Fri, 20 Oct 2006 11:32:27 GMT
On the 0x208 day of Apache Harmony Mark Hindess wrote:
> On 20 October 2006 at 16:34, Egor Pasko <egor.pasko@gmail.com> wrote:
> > On the 0x208 day of Apache Harmony Tonny Lau wrote:
> > > Hi,
> > > 
> > > I checked out the latest drlvm, and failed to set breakpoint when I used
> > > gdb. It seems the
> > > "harmony/enhanced/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jre/bin/java"
> > > is copied from "harmony/enhanced/classlib/trunk/deploy/jdk/jre/bin/java",
> > > i.e., it is not a debug version. Does anyone know how to debug it? Thanks!
> > 
> > Oh! should be on the site!! some day .. some day ..
> > 
> > Yes, it's the launcher. It is taken from classlib (which is not built
> > in debug mode even if DRLVM is built in debug (=default)). If you want
> > to build the launcher in debug mode, change:
> > working_classlib/depends/build/makefile.include
> > (put -O0 -g instead of -O1)
> > 
> > pretty, huh? :)
> 
> pretty ugly. ;-)
> 
> I think https://issues.apache.org/jira/browse/HARMONY-803 was supposed
> to make it less ugly but it was linux only and needs a windows patch to
> make it suitable for integration.

...and there is a similar concern in JIT. We want it defaulting to
debug too, but, there are some assertions to fix first of all (working
on it). Is classlib stable enough to run pre-commit tests in debug
mode?

-- 
Egor Pasko, Intel Managed Runtime Division


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message