]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Enable multi-process mode in the FreeBSD native target.
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 10 Jul 2020 16:05:28 +0000 (09:05 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 10 Jul 2020 16:05:28 +0000 (09:05 -0700)
gdb/ChangeLog:

* fbsd-nat.h (fbsd_nat_target::supports_multi_process): New
declaration.
* fbsd-nat.c (fbsd_nat_target::supports_multi_process): New
function.

gdb/ChangeLog
gdb/fbsd-nat.c
gdb/fbsd-nat.h

index bdab91dd2d626f8c7a5753f5bc27083185a7f55d..c292927e49cac3d8cdc962b059d8e5a661099e12 100644 (file)
@@ -1,3 +1,10 @@
+2020-07-10  John Baldwin  <jhb@FreeBSD.org>
+
+       * 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  <jhb@FreeBSD.org>
 
        * inf-ptrace.c (inf_ptrace_target::wait): Don't compare against
index a63ad2a8f28f7122714b36c4b8eb302294e36706..a355ebe438239e2e16a12949790b568e0ebafe28 100644 (file)
@@ -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 ()
index 40117177b15bbe4eec7276df7c58b04eed72534a..b5a62b9212e421a6314f12be9fccd0a3caa5a5e6 100644 (file)
@@ -94,6 +94,8 @@ public:
     override;
 #endif
 #endif /* PT_LWPINFO */
+
+  bool supports_multi_process () override;
 };
 
 #endif /* fbsd-nat.h */