This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Is it possible to debug with namespace now?
- From: Michael Elizabeth Chastain <mec at shout dot net>
- To: gdb at sources dot redhat dot com, TDeschamps at lbl dot gov
- Date: Mon, 9 Dec 2002 17:31:07 -0600
- Subject: Re: Is it possible to debug with namespace now?
Hello Thomas,
Namespace debugging works better with gdb 5.2.91 than 5.2.1, provided
that you use the dwarf-2 debugging format (which is the default format
for the version of gcc that you have).
gdb 5.2.91 was cut recently from the gdb_5_3-branch. You can ftp
it from:
ftp://sources.redhat.com/pub/gdb/snapshots/branch/gdb-5.2.91.tar.bz2
> I tried to download the new branch of gdb, but the command failed:
> > cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/src co -r
> gdb_5_3-branch gdb+dejagnu
> cvs checkout: authorization failed: server sources.redhat.com rejected
> access to /cvs/src for user anoncvs
> cvs checkout: used empty password; try "cvs login" with a real password
You have to do this first:
cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/src login
(Logging in to anoncvs@sources.redhat.com)
CVS password:
The password for anonymous access is "anoncvs".
The 5.2.91 tarball is easier to use and quite current so I recommend
doing that.
Michael C