Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Kris Warkentin" <kewarken@qnx.com>
To: <gdb@sources.redhat.com>
Subject: command api question
Date: Tue, 02 Apr 2002 10:50:00 -0000	[thread overview]
Message-ID: <082a01c1da77$5eda6920$b6010c0a@catdog> (raw)

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


             reply	other threads:[~2002-04-02 18:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-02 10:50 Kris Warkentin [this message]
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
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='082a01c1da77$5eda6920$b6010c0a@catdog' \
    --to=kewarken@qnx.com \
    --cc=gdb@sources.redhat.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