]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Add netbsd_nat::enable_proc_events in gdb/nat
authorKamil Rytarowski <n54@gmx.com>
Wed, 2 Sep 2020 17:18:55 +0000 (19:18 +0200)
committerKamil Rytarowski <n54@gmx.com>
Thu, 10 Sep 2020 13:38:23 +0000 (15:38 +0200)
commitfeedfcc77379667e4af19e266abc00072e2d262d
treea09c6c200a540c425ac6222b34cea648c8ada783
parentc489f8c6e61e0b60a4108e10be3681885b253864
Add netbsd_nat::enable_proc_events in gdb/nat

Add generic function to enable debugger events in a process.

gdb/ChangeLog:

        * netbsd-nat.h (netbsd_nat::enable_proc_events): Add.
* netbsd-nat.c: Include <sys/ptrace.h>.
* (netbsd_nat::enable_proc_events): Add.
gdb/ChangeLog
gdb/nat/netbsd-nat.c
gdb/nat/netbsd-nat.h