From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1619 invoked by alias); 2 Apr 2002 18:55:35 -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 1496 invoked from network); 2 Apr 2002 18:55:31 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 2 Apr 2002 18:55:31 -0000 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 16sTRF-0005Wl-00; Tue, 02 Apr 2002 13:55:25 -0500 Date: Tue, 02 Apr 2002 10:55:00 -0000 From: Daniel Jacobowitz To: Kris Warkentin Cc: gdb@sources.redhat.com Subject: Re: command api question Message-ID: <20020402135525.A21141@nevyn.them.org> Mail-Followup-To: Kris Warkentin , gdb@sources.redhat.com References: <082a01c1da77$5eda6920$b6010c0a@catdog> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <082a01c1da77$5eda6920$b6010c0a@catdog> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-04/txt/msg00003.txt.bz2 On Tue, Apr 02, 2002 at 01:51:16PM -0500, Kris Warkentin wrote: > 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. It's probably easier just to make it into a global, instead of munging the command lists. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer