This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 3/9 v2] Remove linux_proc_pid_get_ns


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]