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

Re: Debugging 'svn'

From: Marc Singer <elf_at_buici.com>
Date: 2003-08-30 20:33:04 CEST

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.

On Sat, Aug 30, 2003 at 01:51:36PM +0100, Philip Martin wrote:
> Marc Singer <elf@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
Received on Sun Aug 31 21:10:49 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.