From patchwork Thu Apr 4 16:58:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Buettner X-Patchwork-Id: 32166 Received: (qmail 106127 invoked by alias); 4 Apr 2019 17:00:01 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 106069 invoked by uid 89); 4 Apr 2019 17:00:01 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-16.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=indicating, HContent-Transfer-Encoding:8bit X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 04 Apr 2019 16:59:59 +0000 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9C2C92CD7E3 for ; Thu, 4 Apr 2019 16:59:58 +0000 (UTC) Received: from f29-efi-1.lan (ovpn-116-219.phx2.redhat.com [10.3.116.219]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6FA3C60C05; Thu, 4 Apr 2019 16:59:58 +0000 (UTC) From: Kevin Buettner To: gdb-patches@sourceware.org Cc: Kevin Buettner Subject: [PATCH v4 5/6] Documentation for python method InferiorThread.handle Date: Thu, 4 Apr 2019 09:58:53 -0700 Message-Id: <20190404165854.17343-6-kevinb@redhat.com> In-Reply-To: <20190404165854.17343-1-kevinb@redhat.com> References: <20190404165854.17343-1-kevinb@redhat.com> MIME-Version: 1.0 X-IsSubscribed: yes gdb/doc/ChangeLog: * python.texi (Threads In Python): Add description for method InferiorThread.handle. --- gdb/doc/python.texi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index 67165ac3ba..6a967ec26c 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -3334,6 +3334,14 @@ Return a Boolean indicating whether the thread is running. Return a Boolean indicating whether the thread is exited. @end defun +@defun InferiorThread.handle () +Return the thread object's handle, represented as a Python @code{bytes} +object. A @code{gdb.Value} representation of the handle may be +constructed via @code{gdb.Value(bufobj, type)} where @var{bufobj} is +the Python @code{bytes} representation of the handle and @var{type} is +a @code{gdb.Type} for the handle type. +@end defun + @node Recordings In Python @subsubsection Recordings In Python @cindex recordings in python