This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Compilation directories
- From: Andrew Cagney <cagney at gnu dot org>
- To: José Miguel <jmiguelbenitez at supercable dot es>
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 05 Oct 2004 21:57:22 -0400
- Subject: Re: Compilation directories
- References: <200410051258.40098.jmiguelbenitez@supercable.es>
Hi, friends!
My name is Jose Miguel and I am trying to get the value of cdir. I mean, if I
type
show directories
I get
Source directories searched: $cdir:$cwd
but, I cannot find out the way to get the values of those directories. The
print command doesn't seem to work. Any idea?
Thank you indeed.
I just hit the same problem:
(gdb) print $cdir
$1 = void
doesn't help. Anyone?
Andrew