This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 3/9 v2] Remove linux_proc_pid_get_ns
- From: Pedro Alves <palves at redhat dot com>
- To: Gary Benson <gbenson at redhat dot com>, gdb-patches at sourceware dot org
- Cc: Eli Zaretskii <eliz at gnu dot org>, Doug Evans <dje at google dot com>, Iago López Galeiras <iago at endocode dot com>
- Date: Thu, 21 May 2015 15:56:47 +0100
- Subject: Re: [PATCH 3/9 v2] Remove linux_proc_pid_get_ns
- Authentication-results: sourceware.org; auth=none
- References: <1429186791-6867-1-git-send-email-gbenson at redhat dot com> <1430395542-16017-4-git-send-email-gbenson at redhat dot com>
On 04/30/2015 01:05 PM, Gary Benson wrote:
> This commit removes linux_proc_pid_get_ns, and updates its only
> caller to use linux_ns_same instead.
>
> gdb/ChangeLog:
>
> * linux-thread-db.c (nat/linux-namespaces.h): New include.
> (check_pid_namespace_match): Use linux_ns_same rather than
> linux_proc_pid_get_ns to spot PID namespace mismatches.
> * nat/linux-procfs.h (linux_proc_pid_get_ns): Remove.
> * nat/linux-procfs.c (linux_proc_pid_get_ns): Likewise.
OK.
Thanks,
Pedro Alves