This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compilation directories


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]