diff options
author | Gary Benson <gbenson@redhat.com> | 2015-06-10 14:28:43 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2015-06-10 14:28:43 +0100 |
commit | 9bc3a9760b22a6187fdce6abc3df8f0c1d483a21 (patch) | |
tree | 0d3c633fdf088c2e5f4af7c10a3d2da02bbc21ed /gdb/ChangeLog | |
parent | 4b8b5e72451d5b9da4000b8346b20035833aa087 (diff) | |
download | gdb-9bc3a9760b22a6187fdce6abc3df8f0c1d483a21.zip gdb-9bc3a9760b22a6187fdce6abc3df8f0c1d483a21.tar.gz gdb-9bc3a9760b22a6187fdce6abc3df8f0c1d483a21.tar.bz2 |
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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
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 <gbenson@redhat.com> + * 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 <gbenson@redhat.com> + * configure.ac (AC_CHECK_FUNCS): Add setns. * config.in: Regenerate. * configure: Likewise. |