From 9bc3a9760b22a6187fdce6abc3df8f0c1d483a21 Mon Sep 17 00:00:00 2001 From: Gary Benson Date: Wed, 10 Jun 2015 14:28:43 +0100 Subject: Remove linux_proc_pid_get_ns 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. --- gdb/ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gdb/ChangeLog') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 42a5182..d85e4e7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,13 @@ 2015-06-10 Gary Benson + * 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. + +2015-06-10 Gary Benson + * configure.ac (AC_CHECK_FUNCS): Add setns. * config.in: Regenerate. * configure: Likewise. -- cgit v1.1