diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fad4608002f..eec2d55800e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2020-07-21 Kamil Rytarowski + + * nbsd-nat.h (nbsd_nat_target::supports_multi_process): New + declaration. + * nbsd-nat.c (nbsd_nat_target::supports_multi_process): New + function. + 2020-07-20 John Baldwin * fbsd-tdep.c (fbsd_skip_solib_resolver): New function. diff --git a/gdb/nbsd-nat.c b/gdb/nbsd-nat.c index 254a768eb37..a9405ebf862 100644 --- a/gdb/nbsd-nat.c +++ b/gdb/nbsd-nat.c @@ -837,3 +837,11 @@ nbsd_nat_target::set_syscall_catchpoint (int pid, bool needed, are filtered by GDB rather than the kernel. */ return 0; } + +/* Implement the "supports_multi_process" target_ops method. */ + +bool +nbsd_nat_target::supports_multi_process () +{ + return true; +} diff --git a/gdb/nbsd-nat.h b/gdb/nbsd-nat.h index 4a8b96026e6..0a7048ecf35 100644 --- a/gdb/nbsd-nat.h +++ b/gdb/nbsd-nat.h @@ -48,6 +48,7 @@ struct nbsd_nat_target : public inf_ptrace_target gdb::array_view syscall_counts) override; + bool supports_multi_process () override; }; #endif /* nbsd-nat.h */