From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 399 invoked by alias); 19 Jul 2016 18:35:31 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 130601 invoked by uid 89); 19 Jul 2016 18:35:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=consumer, traditional, benson, Benson 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 (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 19 Jul 2016 18:35:20 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D51DE13A54C for ; Tue, 19 Jul 2016 18:35:18 +0000 (UTC) Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u6JIZHmK028143; Tue, 19 Jul 2016 14:35:17 -0400 Subject: Re: proc_service.h as an installed header To: Gary Benson , Florian Weimer References: <05458564-05ab-349e-8702-8dbe8f50c3de@redhat.com> <20160706100639.GB28876@blade.nx> Cc: gdb@sourceware.org From: Pedro Alves Message-ID: <09f0c055-bf98-615f-684c-3c83a44b9bd3@redhat.com> Date: Tue, 19 Jul 2016 18:35:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <20160706100639.GB28876@blade.nx> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2016-07/txt/msg00012.txt.bz2 On 07/06/2016 11:06 AM, Gary Benson wrote: > Florian Weimer wrote: >> glibc has received a request to turn proc_service.h into an >> installed header: >> >> https://sourceware.org/bugzilla/show_bug.cgi?id=20311 >> >> The request seems reasonable. >> >> The only question is who owns this API. glibc is just a consumer >> here, and the traditional provider is GDB, so I GDB would be the >> natural > > I always thought of it as part of libthread_db's API. > > i.e., thread_db.h is the debugger->libthread_db API, > and proc_service.h is the libthread_db->debugger API. > > It seems like it'd be easier to provide it from glibc. If GDB > provided it glibc would have to carry its own copy anyway (I'm > presuming you don't want to introduce a build dependency on GDB) Agreed. (I've followed up on the glibc bug.) Thanks, Pedro Alves