From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 109762 invoked by alias); 6 May 2016 06:31:33 -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 109748 invoked by uid 89); 6 May 2016 06:31:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:sk:cable.0, buettner, sk:kevinb@, Buettner X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 06 May 2016 06:31:30 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ayZIF-0002S9-Jc for gdb-patches@sourceware.org; Fri, 06 May 2016 02:31:25 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayZIF-0002RU-Gb; Fri, 06 May 2016 02:31:19 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1076 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ayZI9-00062K-FE; Fri, 06 May 2016 02:31:13 -0400 Date: Fri, 06 May 2016 06:31:00 -0000 Message-Id: <83d1ozhf41.fsf@gnu.org> From: Eli Zaretskii To: Kevin Buettner CC: gdb-patches@sourceware.org In-reply-to: <20160505141647.65c13e73@pinnacle.lan> (message from Kevin Buettner on Thu, 5 May 2016 14:16:47 -0700) Subject: Re: [PATCH 3/4] Documentation for gdb.thread_from_thread_handle Reply-to: Eli Zaretskii References: <20160505140938.26a084ed@pinnacle.lan> <20160505141647.65c13e73@pinnacle.lan> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-IsSubscribed: yes X-SW-Source: 2016-05/txt/msg00083.txt.bz2 > Date: Thu, 5 May 2016 14:16:47 -0700 > From: Kevin Buettner > > gdb/doc/ChangeLog: > > * python.texi (Threads In Python): Add description for function > gdb.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 ffbf89a..c519d1c 100644 > --- a/gdb/doc/python.texi > +++ b/gdb/doc/python.texi > @@ -2981,6 +2981,13 @@ This function returns the thread object for the selected thread. If there > is no selected thread, this will return @code{None}. > @end defun > > +@findex gdb.thread_from_thread_handle > +@defun gdb.thread_from_thread_handle > +Return the thread object corresponding to the thread handle, > +@var{thread_handle}, a thread library specific data structure such as > +@code{pthread_t} for pthreads library implementations. > +@end defun Thanks. But should the @defun line include thread_handle as well? It's the argument of the method, right?