From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 129757 invoked by alias); 26 Apr 2017 17:46:13 -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 128682 invoked by uid 89); 26 Apr 2017 17:46:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=maps 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, 26 Apr 2017 17:46:12 +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 E73B1A13F1 for ; Wed, 26 Apr 2017 17:46:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com E73B1A13F1 Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=kevinb@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com E73B1A13F1 Received: from pinnacle.lan (ovpn-116-168.phx2.redhat.com [10.3.116.168]) by smtp.corp.redhat.com (Postfix) with ESMTP id C7418932B5 for ; Wed, 26 Apr 2017 17:46:12 +0000 (UTC) Date: Wed, 26 Apr 2017 17:46:00 -0000 From: Kevin Buettner To: gdb-patches@sourceware.org Subject: Re: [PATCH v2 0/7] Thread handle to thread info mapping Message-ID: <20170426104611.09da8097@pinnacle.lan> In-Reply-To: <20170408224959.67164a27@pinnacle.lan> References: <20170408224959.67164a27@pinnacle.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-04/txt/msg00710.txt.bz2 Ping! On Sat, 8 Apr 2017 22:49:59 -0700 Kevin Buettner wrote: > This patch set introduces support for mapping thread handles to the > thread_info structs which GDB uses to keep track of threads in the > inferiors which it's debugging. I need this in order to find the GDB > thread which corresponds to a saved thread handle (e.g. pthread_t) > within an implementation of a thread library built atop pthreads. > The mechanism is general enough however to support other thread > handle representations as well. > > Part 1 introduces a target method which maps a thread handle to > the corresponding internal GDB thread object, i.e. something of type > `struct thread_info *'. An implementation of this new method is > provided for the Linux thread target. Additional work will be > required, over time, for other thread targets. > > Part 2 adds a python interface for the mechanism introduced in part 1. > > Part 3 is a documentation patch. It has been adjusted to address Eli's > concerns in the earlier patch series. > > Part 4 adds a test case. I've extended this test case slightly from the > patch in the earlier series. > > Part 5 is a bug fix for a problem discovered while working on part 6. > > Part 6 adds support for remote targets. > > Part 7 is a documentation patch for the remote protocol changes that > were implemented in part 6.