From: John Baldwin Date: Fri, 10 Jul 2020 16:05:28 +0000 (-0700) Subject: Enable multi-process mode in the FreeBSD native target. X-Git-Tag: gdb-10.1-release~848 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=54904d818b4d6b71101d4eec4bfab6342617ea5e;p=thirdparty%2Fbinutils-gdb.git Enable multi-process mode in the FreeBSD native target. gdb/ChangeLog: * fbsd-nat.h (fbsd_nat_target::supports_multi_process): New declaration. * fbsd-nat.c (fbsd_nat_target::supports_multi_process): New function. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bdab91dd2d6..c292927e49c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2020-07-10 John Baldwin + + * fbsd-nat.h (fbsd_nat_target::supports_multi_process): New + declaration. + * fbsd-nat.c (fbsd_nat_target::supports_multi_process): New + function. + 2020-07-09 John Baldwin * inf-ptrace.c (inf_ptrace_target::wait): Don't compare against diff --git a/gdb/fbsd-nat.c b/gdb/fbsd-nat.c index a63ad2a8f28..a355ebe4382 100644 --- a/gdb/fbsd-nat.c +++ b/gdb/fbsd-nat.c @@ -1669,6 +1669,12 @@ fbsd_nat_target::set_syscall_catchpoint (int pid, bool needed, #endif #endif +bool +fbsd_nat_target::supports_multi_process () +{ + return true; +} + void _initialize_fbsd_nat (); void _initialize_fbsd_nat () diff --git a/gdb/fbsd-nat.h b/gdb/fbsd-nat.h index 40117177b15..b5a62b9212e 100644 --- a/gdb/fbsd-nat.h +++ b/gdb/fbsd-nat.h @@ -94,6 +94,8 @@ public: override; #endif #endif /* PT_LWPINFO */ + + bool supports_multi_process () override; }; #endif /* fbsd-nat.h */