Compilation directories
Andrew Cagney
cagney@gnu.org
Wed Oct 6 02:00:00 GMT 2004
> 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
More information about the Gdb
mailing list