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]

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.

cheers,

Kris


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