Add netbsd_nat::pid_to_exec_file
authorKamil Rytarowski <n54@gmx.com>
Wed, 2 Sep 2020 17:08:37 +0000 (19:08 +0200)
committerKamil Rytarowski <n54@gmx.com>
Thu, 10 Sep 2020 13:37:32 +0000 (15:37 +0200)
commit330662f68490e09efad94fba603f09e1746941b3
tree82595f571b92d6504e8cf7f757902042a04eecdf
parent70b67307e9ed32027d54f46904a1a17f4a19ae2a
Add netbsd_nat::pid_to_exec_file

gdb/ChangeLog:

        * netbsd-nat.h: Include <unistd.h>.
        * (netbsd_nat::pid_to_exec_file): Add.
        * netbsd-nat.c: Include <sys/types.h> and <sys/sysctl.h>.
        * (netbsd_nat::pid_to_exec_file) Add.
gdb/ChangeLog
gdb/nat/netbsd-nat.c
gdb/nat/netbsd-nat.h