From: "Kris Warkentin" <kewarken@qnx.com>
To: "Daniel Jacobowitz" <drow@mvista.com>
Cc: <gdb@sources.redhat.com>
Subject: Re: command api question
Date: Tue, 02 Apr 2002 11:22:00 -0000 [thread overview]
Message-ID: <083201c1da7b$bf19b490$b6010c0a@catdog> (raw)
In-Reply-To: <20020402135525.A21141@nevyn.them.org>
Is that an agreeable solution? Or would it be better to just provide
get/set functions? We're hoping to get our changes rolled into the gdb head
branch someday and we want to keep things as clean as possible. (ie. as few
changes as possible to common files, most stuff implemented in separate qnx
files).
cheers,
Kris
----- Original Message -----
From: "Daniel Jacobowitz" <drow@mvista.com>
To: "Kris Warkentin" <kewarken@qnx.com>
Cc: <gdb@sources.redhat.com>
Sent: Tuesday, April 02, 2002 1:55 PM
Subject: Re: command api question
> 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 19:22 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 [this message]
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='083201c1da7b$bf19b490$b6010c0a@catdog' \
--to=kewarken@qnx.com \
--cc=drow@mvista.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