From patchwork Wed Aug 16 17:38:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Buettner X-Patchwork-Id: 22159 Received: (qmail 40376 invoked by alias); 16 Aug 2017 17:38:23 -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 40361 invoked by uid 89); 16 Aug 2017 17:38:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 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; Wed, 16 Aug 2017 17:38:20 +0000 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5E7633683C for ; Wed, 16 Aug 2017 17:38:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 5E7633683C Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=kevinb@redhat.com Received: from pinnacle.lan (ovpn-117-126.phx2.redhat.com [10.3.117.126]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 430C36062E for ; Wed, 16 Aug 2017 17:38:19 +0000 (UTC) Date: Wed, 16 Aug 2017 10:38:18 -0700 From: Kevin Buettner To: gdb-patches@sourceware.org Subject: Re: [PATCH v4 3/7] Documentation for Inferior.thread_from_thread_handle Message-ID: <20170816103818.25366086@pinnacle.lan> In-Reply-To: <20170816092542.6d2deb00@pinnacle.lan> References: <20170816092542.6d2deb00@pinnacle.lan> MIME-Version: 1.0 X-IsSubscribed: yes gdb/doc/ChangeLog: * python.texi (Inferiors In Python): Add description for method Inferior.thread_from_thread_handle. --- gdb/doc/python.texi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index 32d7939..f60d366 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -2785,6 +2785,13 @@ containing the address where the pattern was found, or @code{None} if the pattern could not be found. @end defun +@findex Inferior.thread_from_thread_handle +@defun Inferior.thread_from_thread_handle (thread_handle) +Return the thread object corresponding to @var{thread_handle}, a thread +library specific data structure such as @code{pthread_t} for pthreads +library implementations. +@end defun + @node Events In Python @subsubsection Events In Python @cindex inferior events in Python