Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Daniel Jacobowitz <drow@mvista.com>, Kris Warkentin <kewarken@qnx.com>
Cc: gdb@sources.redhat.com
Subject: Re: command api question
Date: Wed, 03 Apr 2002 08:54:00 -0000	[thread overview]
Message-ID: <3CAB33BA.4010603@cygnus.com> (raw)
In-Reply-To: <20020402135525.A21141@nevyn.them.org>

> 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.

Er .....

Kris, can you explain why you want to munge this variable?

Andrew


  parent reply	other threads:[~2002-04-03 16:54 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
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 [this message]
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=3CAB33BA.4010603@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=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