harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Fedotov" <alexei.fedo...@gmail.com>
Subject Re: [drlvm] drlvm and gdb and shared libraries
Date Mon, 13 Nov 2006 21:05:33 GMT
Let me point out the second section of Egor's manual - LD_LIBRARY_PATH
is the only thing which should be additionally configured.

On 13 Nov 2006 15:46:44 +0600, Egor Pasko <egor.pasko@gmail.com> wrote:
> On the 0x220 day of Apache Harmony Geir Magnusson, Jr. wrote:
> > I have a dumb question - I was playing today with a toy launcher for
> > DRLVM working out some embedding issues, and for the life of me, I
> > couldn't get dgb to ever let me break on anything in a shared library.
> >
> > I loaded the vm via dlopen() an dlsym(), and the code runs fine.  But
> > even build in debug, I couldn't ever specify a breakpoint in a  shared
> > lib even after it was loaded.
> >
> > has anyone run across this?
>
> you cannot enable a breakpoint until the library is loaded. Just wait
> until it is loaded. I wrote [1] to help with that. Hope it helps :)
>
> [1]
> http://wiki.apache.org/harmony/Debugging%20DRLVM%20with%20GDB%20on%20Linux
>
> --
> Egor Pasko
>
>


-- 
Thank you,
Alexei

Mime
View raw message