From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10907 invoked by alias); 5 Jul 2016 18:29:25 -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 10892 invoked by uid 89); 5 Jul 2016 18:29:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=H*r:sk:gdb@sou, Hx-languages-length:796, owns, consumer 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, 05 Jul 2016 18:29:14 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (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 BE392C05B1DF for ; Tue, 5 Jul 2016 18:29:12 +0000 (UTC) Received: from oldenburg.str.redhat.com (dhcp-192-212.str.redhat.com [10.33.192.212]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u65ITBT0009611 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 5 Jul 2016 14:29:12 -0400 To: gdb@sourceware.org From: Florian Weimer Subject: proc_service.h as an installed header Message-ID: <05458564-05ab-349e-8702-8dbe8f50c3de@redhat.com> Date: Tue, 05 Jul 2016 18:29:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2016-07/txt/msg00006.txt.bz2 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 The API definitions seem to have drifted a bit, e.g.: --- glibc/git/nptl_db/proc_service.h +++ binutils-gdb/gdb/gdb_proc_service.h … -extern ps_err_e ps_pstop (const struct ps_prochandle *); -extern ps_err_e ps_pcontinue (const struct ps_prochandle *); +extern ps_err_e ps_pstop (struct ps_prochandle *); +extern ps_err_e ps_pcontinue (struct ps_prochandle *); Perhaps we should clean this up before making this a more public API? Thanks, Florian