From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28804 invoked by alias); 2 Apr 2002 18:50:48 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 28795 invoked from network); 2 Apr 2002 18:50:47 -0000 Received: from unknown (HELO hub.ott.qnx.com) (209.226.137.76) by sources.redhat.com with SMTP; 2 Apr 2002 18:50:47 -0000 Received: from smtp.ott.qnx.com (smtp.ott.qnx.com [10.0.2.158]) by hub.ott.qnx.com (8.9.3/8.9.3) with ESMTP id NAA18673 for ; Tue, 2 Apr 2002 13:50:26 -0500 Received: from catdog (dhcpa182 [10.12.1.182]) by smtp.ott.qnx.com (8.8.8/8.6.12) with SMTP id NAA26843 for ; Tue, 2 Apr 2002 13:49:56 -0500 Message-ID: <082a01c1da77$5eda6920$b6010c0a@catdog> From: "Kris Warkentin" To: Subject: command api question Date: Tue, 02 Apr 2002 10:50:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-SW-Source: 2002-04/txt/msg00002.txt.bz2 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