From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8276 invoked by alias); 21 Mar 2019 04:49:31 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 8256 invoked by uid 89); 21 Mar 2019 04:49:30 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-16.1 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= 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, 21 Mar 2019 04:49:29 +0000 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2E2E1307D942 for ; Thu, 21 Mar 2019 04:49:27 +0000 (UTC) Received: from f29-4.lan (ovpn-117-184.phx2.redhat.com [10.3.117.184]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0CDA45D6A6 for ; Thu, 21 Mar 2019 04:49:27 +0000 (UTC) Date: Thu, 21 Mar 2019 04:49:00 -0000 From: Kevin Buettner To: gdb-patches@sourceware.org Subject: [PATCH v3 5/6] Documentation for python method InferiorThread.handle Message-ID: <20190320214926.16b85228@f29-4.lan> In-Reply-To: <20190320213250.718c4c19@f29-4.lan> References: <20190320213250.718c4c19@f29-4.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-03/txt/msg00453.txt.bz2 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 b02a154ce1..2a5a5cde3d 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -3240,6 +3240,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