[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

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

From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2003-09-02 11:36:45 CEST

On Mon, Sep 01, 2003 at 11:14:22PM +0100, Julian Foad wrote:
> Marc Singer wrote:
> >I'd like to think that debugging subversion is easy.
>
> Not sure whether you are trying to demonstrate that it is easy, or point
> out that it is not easy...
>
> > > make dist_clean
> > > configure --enable-debug --enable-maintainer-mode
> >...
> > > make
> >...
> > > cd subversion/clients/cmdline
> > > ./svn
> > > gdb .libs/lt-svn
> > GNU gdb 5.3.90_2003-08-01-cvs-debian
> > Copyright 2003 Free Software Foundation, Inc.
> > GDB is free software, covered by the GNU General Public License, and you
> > are
> > welcome to change it and/or distribute copies of it under certain
> > conditions.
> > Type "show copying" to see the conditions.
> > There is absolutely no warranty for GDB. Type "show warranty" for
> > details.
> > This GDB was configured as "i386-linux"...(no debugging symbols found)...
>
> -----------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^
> Debugging is not going to be easy with no debug symbols :-)

He was told to compile with "--enable-maintainer-mode" to get the
debugging symbols. I immagine this e-mail is meant to demonstrate that
this is not sufficient.

Marc, not everyone reads all the messages on the lists. Please provide
more context in your e-mails.

Maybe try using something like "$ CFLAGS=-g ./configure
--enable-maintainer-mode [...]"; make clean; make

Also make sure you get rid of any previously installed Subversion libs
before compiling.

I'm not sure if that will work, but I hope it will.

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 2 11:37:54 2003

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.