This is the mail archive of the
mailing list for the GDB project.
command api question
- From: "Kris Warkentin" <kewarken at qnx dot com>
- To: <gdb at sources dot redhat dot com>
- Date: Tue, 2 Apr 2002 13:51:16 -0500
- Subject: command api question
There is a static variable 'solib_search_path' in solib.c that I'd like to
get access to outside of solib.c. I see that it has been added to the
command list with an 'add_set_cmd()' call. What is the easiest way for me
to get a reference to this variable so that I can modify it? (we have an
initialization routine to set a default solib search path). I apologize if
this is clearly documented somewhere - the functions in command.h are
probably what I'm looking for but it wasn't immediately obvious which one I
should use and how.