This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Move remaining nptl_db headers to sysdeps/nptl
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: libc-alpha at sourceware dot org
- Date: Fri, 15 Feb 2019 14:47:08 -0200
- Subject: Re: [PATCH] Move remaining nptl_db headers to sysdeps/nptl
- References: <87womahqr6.fsf@oldenburg2.str.redhat.com>
On 08/02/2019 20:14, Florian Weimer wrote:
> sys/procfs.h was already using this sysdeps directory.
>
> This avoids the need for nptl-specific wrapper headers under
> include/, a generic location in the source tree.
>
> 2019-02-08 Florian Weimer <fweimer@redhat.com>
>
> * nptl_db/proc_service.h: Move to ...
> * sysdeps/nptl/proc_service.h: ... here.
> * nptl_db/thread_db.h: Move to ...
> * sysdeps/nptl/thread_db.h: ... here.
> * nptl/descr.h: Include <thread_db.h>.
LGTM, both proc_service.h and thread_db.h are installed on correct locations
and all abi continue to build.
>
> diff --git a/nptl/descr.h b/nptl/descr.h
> index 9c54cbc8f2..4ef33ae465 100644
> --- a/nptl/descr.h
> +++ b/nptl/descr.h
> @@ -29,7 +29,7 @@
> #include <lowlevellock.h>
> #include <pthreaddef.h>
> #include <dl-sysdep.h>
> -#include "../nptl_db/thread_db.h"
> +#include <thread_db.h>
> #include <tls.h>
> #include <unwind.h>
> #include <bits/types/res_state.h>
> diff --git a/nptl_db/proc_service.h b/sysdeps/nptl/proc_service.h
> similarity index 100%
> rename from nptl_db/proc_service.h
> rename to sysdeps/nptl/proc_service.h
> diff --git a/nptl_db/thread_db.h b/sysdeps/nptl/thread_db.h
> similarity index 100%
> rename from nptl_db/thread_db.h
> rename to sysdeps/nptl/thread_db.h
>