]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Rewrite nbsd_nat_target::pid_to_exec_file to sysctl(3)
authorKamil Rytarowski <n54@gmx.com>
Sat, 14 Mar 2020 23:12:53 +0000 (00:12 +0100)
committerKamil Rytarowski <n54@gmx.com>
Tue, 17 Mar 2020 09:22:51 +0000 (10:22 +0100)
commita2ecbe9fb7355698aad97841f9717cdfd7096d95
tree1c4800fef54bcf454be4d6bfe0f8c31e12a1de04
parent589902954da0d1dd140b33e578954746c9bfc374
Rewrite nbsd_nat_target::pid_to_exec_file to sysctl(3)

procfs on NetBSD is optional and not recommended.

* nbsd-nat.c: Include <sys/types.h>, <sys/ptrace.h> and
<sys/sysctl.h>.
* nbsd-nat.c (nbsd_nat_target::pid_to_exec_file): Rewrite.
gdb/ChangeLog
gdb/nbsd-nat.c