On Fri, Jan 26, 2007 at 09:55:06AM +0100, sferriol wrote: > Mike Hommey wrote: > >On Thu, Jan 25, 2007 at 05:03:07PM +0100, Sylvain Ferriol > ><[EMAIL PROTECTED]> wrote: > >>Package: libxul0d-dbg > >>Version: 1.8.0.8-1 > >>Severity: minor > >> > >>can you please put the same links as when installing libxul0d > >>example: > >>$ ls -l /usr/lib/xulrunner/*.so > >>/usr/lib/xulrunner/libjavaxpcomglue.so > >>/usr/lib/xulrunner/libmozjs.so -> ../libmozjs.so.0d > >>/usr/lib/xulrunner/libnspr4.so -> ../libnspr4.so.0d > >>/usr/lib/xulrunner/libnssckbi.so > >>/usr/lib/xulrunner/libplc4.so -> ../libplc4.so.0d > >>/usr/lib/xulrunner/libplds4.so -> ../libplds4.so.0d > >>/usr/lib/xulrunner/libxpcom.so -> ../libxpcom.so.0d > >>/usr/lib/xulrunner/libxul.so -> ../libxul.so.0d > >> > >>$ ls -l /usr/lib/debug/usr/lib/xulrunner/*.so > >>/usr/lib/debug/usr/lib/xulrunner/libjavaxpcomglue.so > >> > >>then we will have the same environment > >>for example java xpcom does not work when putting gre_path to > >>/usr/lib/debug/usr/lib/xulrunner because it tries to detect libxpcom.so > >>in it > > > >The files in /usr/lib/debug only contain the debugging symbols and are > >of no use without a debugger. It makes no sense to point gre_path there. > > > tell me how to debug when using xulrunner via java/jni ? > for me, the solution is to launch java application specifying which lib > will be used (via gre_path) and after, in another console launch gdb and > attach it on java process
You don't need to change anything, gdb will take care to load the symbols from the appropriate location. Mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]