aboutsummaryrefslogtreecommitdiff
path: root/gdb/fbsd-nat.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2020-07-10 09:05:28 -0700
committerJohn Baldwin <jhb@FreeBSD.org>2020-07-10 09:05:28 -0700
commit54904d818b4d6b71101d4eec4bfab6342617ea5e (patch)
treef4ddb0ddc352f80c9c4e9849ba0b4614b46e5bcd /gdb/fbsd-nat.c
parent921eafeada862b1e019650d17d7c5e0d35bfaa5e (diff)
downloadfsf-binutils-gdb-54904d818b4d6b71101d4eec4bfab6342617ea5e.zip
fsf-binutils-gdb-54904d818b4d6b71101d4eec4bfab6342617ea5e.tar.gz
fsf-binutils-gdb-54904d818b4d6b71101d4eec4bfab6342617ea5e.tar.bz2
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.
Diffstat (limited to 'gdb/fbsd-nat.c')
-rw-r--r--gdb/fbsd-nat.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/fbsd-nat.c b/gdb/fbsd-nat.c
index a63ad2a..a355ebe 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 ()