* [PATCH] Enable multi-process mode in the FreeBSD native target.
@ 2020-07-08 0:47 John Baldwin
2020-07-08 9:52 ` Gary Benson
2020-07-08 18:43 ` Pedro Alves
0 siblings, 2 replies; 3+ messages in thread
From: John Baldwin @ 2020-07-08 0:47 UTC (permalink / raw)
To: gdb-patches
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 | 7 +++++++
gdb/fbsd-nat.c | 6 ++++++
gdb/fbsd-nat.h | 2 ++
3 files changed, 15 insertions(+)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c86d7e4647..f4e0e2990f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2020-07-07 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-06 Andrew Burgess <andrew.burgess@embecosm.com>
PR python/22748
diff --git a/gdb/fbsd-nat.c b/gdb/fbsd-nat.c
index 1d189a2501..4d6edb8cae 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 40117177b1..b5a62b9212 100644
--- a/gdb/fbsd-nat.h
+++ b/gdb/fbsd-nat.h
@@ -94,6 +94,8 @@ class fbsd_nat_target : public inf_ptrace_target
override;
#endif
#endif /* PT_LWPINFO */
+
+ bool supports_multi_process () override;
};
#endif /* fbsd-nat.h */
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Enable multi-process mode in the FreeBSD native target.
2020-07-08 0:47 [PATCH] Enable multi-process mode in the FreeBSD native target John Baldwin
@ 2020-07-08 9:52 ` Gary Benson
2020-07-08 18:43 ` Pedro Alves
1 sibling, 0 replies; 3+ messages in thread
From: Gary Benson @ 2020-07-08 9:52 UTC (permalink / raw)
To: John Baldwin; +Cc: gdb-patches
John Baldwin wrote:
> gdb/ChangeLog:
>
> * fbsd-nat.h (fbsd_nat_target::supports_multi_process): New
> declaration.
> * fbsd-nat.c (fbsd_nat_target::supports_multi_process): New
> function.
LGTM.
Cheers,
Gary
--
Gary Benson - he / him / his
Principal Software Engineer, Red Hat
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Enable multi-process mode in the FreeBSD native target.
2020-07-08 0:47 [PATCH] Enable multi-process mode in the FreeBSD native target John Baldwin
2020-07-08 9:52 ` Gary Benson
@ 2020-07-08 18:43 ` Pedro Alves
1 sibling, 0 replies; 3+ messages in thread
From: Pedro Alves @ 2020-07-08 18:43 UTC (permalink / raw)
To: John Baldwin; +Cc: GDB Patches
Ok.
A Qua, 8/07/2020, 01:54, John Baldwin <jhb@freebsd.org> escreveu:
> 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 | 7 +++++++
> gdb/fbsd-nat.c | 6 ++++++
> gdb/fbsd-nat.h | 2 ++
> 3 files changed, 15 insertions(+)
>
> diff --git a/gdb/ChangeLog b/gdb/ChangeLog
> index c86d7e4647..f4e0e2990f 100644
> --- a/gdb/ChangeLog
> +++ b/gdb/ChangeLog
> @@ -1,3 +1,10 @@
> +2020-07-07 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-06 Andrew Burgess <andrew.burgess@embecosm.com>
>
> PR python/22748
> diff --git a/gdb/fbsd-nat.c b/gdb/fbsd-nat.c
> index 1d189a2501..4d6edb8cae 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 40117177b1..b5a62b9212 100644
> --- a/gdb/fbsd-nat.h
> +++ b/gdb/fbsd-nat.h
> @@ -94,6 +94,8 @@ class fbsd_nat_target : public inf_ptrace_target
> override;
> #endif
> #endif /* PT_LWPINFO */
> +
> + bool supports_multi_process () override;
> };
>
> #endif /* fbsd-nat.h */
> --
> 2.25.1
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-07-08 18:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-08 0:47 [PATCH] Enable multi-process mode in the FreeBSD native target John Baldwin
2020-07-08 9:52 ` Gary Benson
2020-07-08 18:43 ` Pedro Alves
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).