Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Eli Zaretskii" <eliz@gnu.org>
To: Kevin Buettner <kevinb@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFC] remote.c: Add remote TLS support
Date: Fri, 22 Apr 2005 13:14:00 -0000	[thread overview]
Message-ID: <01c5473d$Blat.v2.4$09af7cc0@zahav.net.il> (raw)
In-Reply-To: <20050415130913.50ee721c@ironwood.lan> (message from Kevin Buettner on Fri, 15 Apr 2005 13:09:13 -0700)

> Date: Fri, 15 Apr 2005 13:09:13 -0700
> From: Kevin Buettner <kevinb@redhat.com>
> 
> With that out of the way, I ended up committing the following changes,
> only modified slightly from my earlier posting.  (It no longer
> refers to the deprecated function and I removed some unused variables
> that were leftovers from an even earlier version of the work.)
> 
> 	* remote.c (remote_protocol_qGetTLSAddr): New static global variable.
> 	(set_remote_protocol_qGetTLSAddr_packet_cmd)
> 	(show_remote_protocol_qGetTLSAddr_packet_cmd)
> 	(remote_get_thread_local_address): New functions.
> 	(init_all_packet_configs): Initialize remote_protocol_qGetTLSAddr
> 	variable.
> 	(init_remote_ops): Initialize ``to_get_thread_local_address'' in
> 	target vector.
> 	(show_remote_cmd): Call show_remote_protocol_qGetTLS_Addr_packet_cmd().
> 	(_initialize_remote):  Register the following commands:
> 	"set remote get-thread-local-storage-address-packet" and
> 	"show remote get-thread-local-address-packet".

I added documentation for these 2 new commands, see below.

Committed.

2005-04-22  Eli Zaretskii  <eliz@gnu.org>

	* gdb.texinfo (Remote configuration): Document "set/show
	get-thread-local-storage-address".  Add cross-reference to the
	description of the qGetTLSAddr packet.
	(General Query Packets): Mention "set remote
	get-thread-local-storage-address" and add a reference to its
	description.


Index: gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.246
retrieving revision 1.247
diff -u -r1.246 -r1.247
--- gdb.texinfo	18 Apr 2005 13:30:11 -0000	1.246
+++ gdb.texinfo	22 Apr 2005 13:09:27 -0000	1.247
@@ -12099,6 +12099,19 @@
 @itemx show remote access-watchpoint-packet
 @itemx show remote Z-packet
 Show the current setting of @samp{Z} packets usage.
+
+@item set remote get-thread-local-storage-address
+@kindex set remote get-thread-local-storage-address
+@cindex thread local storage of remote targets
+This command enables or disables the use of the @samp{qGetTLSAddr}
+(Get Thread Local Storage Address) request packet.  The default
+depends on whether the remote stub supports this request.
+@xref{General Query Packets, qGetTLSAddr}, for more details about this
+packet.
+
+@item show remote get-thread-local-storage-address
+@kindex show remote get-thread-local-storage-address
+Show the current setting of @samp{qGetTLSAddr} packet usage.
 @end table
 
 @node remote stub
@@ -22771,6 +22784,10 @@
 An empty reply indicates that @code{qGetTLSAddr} is not supported by the stub.
 @end table
 
+Use of this request packet is controlled by the @code{set remote
+get-thread-local-storage-address} command (@pxref{Remote
+configuration, set remote get-thread-local-storage-address}).
+
 @end table
 
 @node Register Packet Format


  parent reply	other threads:[~2005-04-22 13:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-31 23:20 Kevin Buettner
2005-03-31 23:43 ` Daniel Jacobowitz
2005-04-15 20:09 ` Kevin Buettner
2005-04-15 20:12   ` Daniel Jacobowitz
2005-04-15 20:30     ` Kevin Buettner
2005-04-15 21:02     ` Kevin Buettner
2005-04-16  9:14   ` Eli Zaretskii
2005-04-22 13:14   ` Eli Zaretskii [this message]
2005-04-26 23:39     ` Kevin Buettner

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='01c5473d$Blat.v2.4$09af7cc0@zahav.net.il' \
    --to=eliz@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kevinb@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