Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@cygnus.com>
To: GDB patches <gdb-patches@sourceware.cygnus.com>,
	Stephen Smith <ischis2@home.com>
Cc: Elena Zannoni <ezannoni@cygnus.com>, Andrew Cagney <ac131313@cygnus.com>
Subject: Re: Improved patch: shared libraries and a remote target
Date: Fri, 20 Jul 2001 11:10:00 -0000	[thread overview]
Message-ID: <1010720180936.ZM7649@ocotillo.lan> (raw)
In-Reply-To: <3B586202.2E1504ED@home.com>

On Jul 20,  9:53am, Stephen Smith wrote:

> Unless someone can point me at how to add the command and then link
> it to the appropriate variable, the switch is my best try (sorry
> Elena).

Stephen,

Look in _initialize_remote() where a good number of commands are added.
Off the top of my head, I think it might look something like this...

  add_show_from_set
    (add_set_cmd ("remote-shared-libs", no_class,
		  var_boolean, (char *) &remote_shared_libs,
		  "Set whether remote target supports qLibraries packet\n",
		  &setlist),
     &showlist);

Or, perhaps it ought to be one of the packet config commands?...

  add_packet_config_cmd (&remote_protocol_qLibraries,
			 "qLibraries", "shared-library-lookup",
			 set_remote_protocol_qLibraries_packet_cmd,
			 show_remote_protocol_qLibraries_packet_cmd,
			 &remote_set_cmdlist, &remote_show_cmdlist,
			 0);

I'm not sure which is preferable in this case, but this should provide
you with a starting point...

Kevin


  reply	other threads:[~2001-07-20 11:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-18 10:54 Stephen Smith
2001-07-18 11:44 ` Elena Zannoni
2001-07-18 12:13   ` Stephen Smith
2001-07-19 10:31   ` Stephen Smith
2001-07-19 15:18   ` Resubmital of: " Stephen Smith
2001-07-19 17:57     ` Elena Zannoni
2001-07-19 22:12       ` Stephen Smith
2001-07-20 12:02         ` Elena Zannoni
2001-07-20 17:26         ` Andrew Cagney
2001-07-20  9:52     ` Improved patch: " Stephen Smith
2001-07-20 11:10       ` Kevin Buettner [this message]
2001-07-20 17:17       ` Re-submit: " Stephen Smith
2001-07-20 17:52         ` Andrew Cagney
2001-07-23  0:22           ` Stephen Smith

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=1010720180936.ZM7649@ocotillo.lan \
    --to=kevinb@cygnus.com \
    --cc=ac131313@cygnus.com \
    --cc=ezannoni@cygnus.com \
    --cc=gdb-patches@sourceware.cygnus.com \
    --cc=ischis2@home.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