You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Marc Singer <el...@buici.com> on 2003/08/31 03:18:48 UTC

On another note, I'd like to debug subversion

Someone on the list said that I could debug .libs/lt_svn, but I found
that it doesn't have symbols.  Can you help me get started?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: On another note, I'd like to debug subversion

Posted by Philip Martin <ph...@codematters.co.uk>.
kfogel@collab.net writes:

> Marc Singer <el...@buici.com> writes:
>> Someone on the list said that I could debug .libs/lt_svn, but I found
>> that it doesn't have symbols.  Can you help me get started?

Which compiler are you using?  The configure script should arrange to
pass -g if you are using gcc, unless you actively disable it.  If you
are using some other compiler you can use
 make EXTRA_CFLAGS="-whatever"
to pass whatever the debug flag is for your compiler.

> Try also .libs/svn.

That will be linked to the installed Subversion libraries, it's not
usually what you want.

>  I think after the first time you run it, you then
> get lt_svn (or is it "lt-svn"?), or perhaps vice versa.

If you want to debug the libraries in the build tree then use lt-svn.

-- 
Philip Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: On another note, I'd like to debug subversion

Posted by kf...@collab.net.
Marc Singer <el...@buici.com> writes:
> Someone on the list said that I could debug .libs/lt_svn, but I found
> that it doesn't have symbols.  Can you help me get started?

Try also .libs/svn.  I think after the first time you run it, you then
get lt_svn (or is it "lt-svn"?), or perhaps vice versa.

Yes, I lose track too.  But if you built with
--enable-maintainer-mode, some combination of the above should work.
Good luck.

-K


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org