From: Pedro Alves <alves.ped@gmail.com>
To: John Baldwin <jhb@freebsd.org>
Cc: GDB Patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH] Enable multi-process mode in the FreeBSD native target.
Date: Wed, 8 Jul 2020 19:43:31 +0100 [thread overview]
Message-ID: <CAJvqv7NdRo1fp5FcO8M4X8Xi2gE2F4Zj9mCSNH=r1UrDW0tX_Q@mail.gmail.com> (raw)
In-Reply-To: <20200708004714.91309-1-jhb@FreeBSD.org>
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
>
>
prev parent reply other threads:[~2020-07-08 18:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-08 0:47 John Baldwin
2020-07-08 9:52 ` Gary Benson
2020-07-08 18:43 ` Pedro Alves [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJvqv7NdRo1fp5FcO8M4X8Xi2gE2F4Zj9mCSNH=r1UrDW0tX_Q@mail.gmail.com' \
--to=alves.ped@gmail.com \
--cc=gdb-patches@sourceware.org \
--cc=jhb@freebsd.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).