This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: "set foo"
> So using "set foo" to make sure some symbol used by `foo' is loaded by
> GDB is a valid technique, is that right?
I think the answer is yes - I am a little confused by "some symbol used
by `foo'", but I think I get what you are trying to ask. Basically, what
the above does, as a side effect, is make sure that the full symbols
for the unit containing `foo' get loaded. I am not sure why the person
who added it felt that they needed that, but I have used that technique
as a workaround several times in the past when there was a bug with
psymtab searching...
--
Joel