From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by sourceware.org (Postfix) with ESMTPS id 18EC03858D34 for ; Wed, 8 Jul 2020 18:43:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 18EC03858D34 Received: by mail-wr1-x441.google.com with SMTP id b6so50024734wrs.11 for ; Wed, 08 Jul 2020 11:43:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Tbp8YSaN0lxa6j3EmQIwddHCTubMEdDVei2dCZYHMyM=; b=ohISKQHeHaZ6hh34d6/nZfsbg5fWuSmMEt2LsofSKGxUJoe1z8+UJP2C0GPHA6dBCI bxsblMsESzuT6WaLSC74/F72u/x8xnBwoUMg+56igEjIzv474FB9i/4qHbdvZkkIysJZ 59MHnjHTXeaVpPv2FMrzkoz+z8b1sXsxGaExlr97CMu+ostujxuvADHpj7mbpjcjwhOF MsG5XjZwIZ6KuAE9Y74PYTaFCWaZHIYax3tZNzJQXVkU813571mUodmWBP6Zr6Thd7LS ntiNb2pG4KkNB6b9JB/u12bOFj69CGjMOZF7LoiVmVBWrxBmgUD6Jv3tdDoInNHzLcf8 REbw== X-Gm-Message-State: AOAM531DesI+evj5xVdpvgqVsWndZoGBTAM732t/4lFzw5HKCRmXPEyi cxHb0+CgVFwXZ9khAdR8Yuzo1VFo4nwaDJBWYhNBAA== X-Google-Smtp-Source: ABdhPJxbwhzZyN187NF25C1ShLB/1h2kb4WRRE9Zq7Svg6Ie132FpnbFAevBdR7yc0rO0BKEyQk5R3BGnKjAtbs8gqI= X-Received: by 2002:a05:6000:1290:: with SMTP id f16mr33309447wrx.66.1594233826193; Wed, 08 Jul 2020 11:43:46 -0700 (PDT) MIME-Version: 1.0 References: <20200708004714.91309-1-jhb@FreeBSD.org> In-Reply-To: <20200708004714.91309-1-jhb@FreeBSD.org> From: Pedro Alves Date: Wed, 8 Jul 2020 19:43:31 +0100 Message-ID: Subject: Re: [PATCH] Enable multi-process mode in the FreeBSD native target. To: John Baldwin Cc: GDB Patches X-Spam-Status: No, score=-8.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jul 2020 18:43:48 -0000 Ok. A Qua, 8/07/2020, 01:54, John Baldwin 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 > + > + * 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 > > 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 > >