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/30 09:41:47 UTC

Debugging 'svn'

When I execute this command

  svn diff -r#### | less

and type ^C to cancel the pipe, svn leaves temporary files in the
current directory.  

I want to debug svn to find the problem.  Building subversion produces
a client program, svn, that is a script.  How do I get a debug build
of the client program?



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

Re: Debugging 'svn'

Posted by e....@gmx.net.
> How do I get debug symbols?

Did you use the --enable-maintainer-mode configure switch?

bye,

Erik.

-- 
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post


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

Re: Debugging 'svn'

Posted by Marc Singer <el...@buici.com>.
On Tue, Sep 02, 2003 at 12:25:18PM -0700, Jack Repenning wrote:
> At 11:33 AM -0700 8/30/03, Marc Singer wrote:
> >How do I get debug symbols?
> 
> configure --enable-maintainer
> make

This switch is broken in the repository.  I posted a patch that makes
it work again.

It is possible that some folks would not see the breakage is they set
CFLAGS in their environment when invoking ./configure.

Cheers.


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

Re: Debugging 'svn'

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Jack Repenning wrote:
> At 11:33 AM -0700 8/30/03, Marc Singer wrote:
> 
>> How do I get debug symbols?
> 
> 
> configure --enable-maintainer

configure --enable-maintainer-mode

> make




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

Re: Debugging 'svn'

Posted by Jack Repenning <jr...@collab.net>.
At 11:33 AM -0700 8/30/03, Marc Singer wrote:
>How do I get debug symbols?

configure --enable-maintainer
make

-- 
-==-
Jack Repenning
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
o: 650.228.2562
c: 408.835-8090

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

Re: Debugging 'svn'

Posted by Marc Singer <el...@buici.com>.
How do I get debug symbols?


elf@florence ~...subversion/subversion > subversion/clients/cmdline/svn
Type `svn help' for usage.
elf@florence ~...subversion/subversion > gdb subversion/clients/cmdline/.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)...
(gdb) l main
No symbol table is loaded.  Use the "file" command.
(gdb) 



On Sat, Aug 30, 2003 at 01:51:36PM +0100, Philip Martin wrote:
> Marc Singer <el...@buici.com> writes:
> 
> > I want to debug svn to find the problem.  Building subversion produces
> > a client program, svn, that is a script.  How do I get a debug build
> > of the client program?
> 
> Running the script generates the executable. So
> 
>    $ subversion/clients/cmdline/svn
>    $ gdb subversion/clients/cmdline/.libs/lt-svn
>    (gdb) b main
>    (gdb) r
> 
> -- 
> Philip Martin

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

Re: Debugging 'svn'

Posted by Marc Singer <el...@buici.com>.
How do I get debug symbols?


elf@florence ~...subversion/subversion > subversion/clients/cmdline/svn
Type `svn help' for usage.
elf@florence ~...subversion/subversion > gdb subversion/clients/cmdline/.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)...
(gdb) l main
No symbol table is loaded.  Use the "file" command.
(gdb) 



On Sat, Aug 30, 2003 at 01:51:36PM +0100, Philip Martin wrote:
> Marc Singer <el...@buici.com> writes:
> 
> > I want to debug svn to find the problem.  Building subversion produces
> > a client program, svn, that is a script.  How do I get a debug build
> > of the client program?
> 
> Running the script generates the executable. So
> 
>    $ subversion/clients/cmdline/svn
>    $ gdb subversion/clients/cmdline/.libs/lt-svn
>    (gdb) b main
>    (gdb) r
> 
> -- 
> Philip Martin

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

Re: Debugging 'svn'

Posted by Philip Martin <ph...@codematters.co.uk>.
Marc Singer <el...@buici.com> writes:

> I want to debug svn to find the problem.  Building subversion produces
> a client program, svn, that is a script.  How do I get a debug build
> of the client program?

Running the script generates the executable. So

   $ subversion/clients/cmdline/svn
   $ gdb subversion/clients/cmdline/.libs/lt-svn
   (gdb) b main
   (gdb) r

-- 
Philip Martin

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