From: Daniel Jacobowitz <drow@mvista.com>
To: Kris Warkentin <kewarken@qnx.com>
Cc: gdb@sources.redhat.com
Subject: Re: command api question
Date: Tue, 02 Apr 2002 10:55:00 -0000 [thread overview]
Message-ID: <20020402135525.A21141@nevyn.them.org> (raw)
In-Reply-To: <082a01c1da77$5eda6920$b6010c0a@catdog>
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
next prev parent reply other threads:[~2002-04-02 18:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-02 10:50 Kris Warkentin
2002-04-02 10:55 ` Daniel Jacobowitz [this message]
2002-04-02 11:22 ` Kris Warkentin
2002-04-02 11:25 ` Daniel Jacobowitz
2002-04-02 12:19 ` Kris Warkentin
2002-04-02 12:24 ` Daniel Jacobowitz
2002-04-03 8:54 ` Andrew Cagney
2002-04-03 9:06 ` Kris Warkentin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020402135525.A21141@nevyn.them.org \
--to=drow@mvista.com \
--cc=gdb@sources.redhat.com \
--cc=kewarken@qnx.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox