This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: proc_service.h as an installed header
- From: Pedro Alves <palves at redhat dot com>
- To: Gary Benson <gbenson at redhat dot com>, Florian Weimer <fweimer at redhat dot com>
- Cc: gdb at sourceware dot org
- Date: Tue, 19 Jul 2016 19:35:16 +0100
- Subject: Re: proc_service.h as an installed header
- Authentication-results: sourceware.org; auth=none
- References: <05458564-05ab-349e-8702-8dbe8f50c3de@redhat.com> <20160706100639.GB28876@blade.nx>
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