From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 426AA3858D38 for ; Sun, 2 Oct 2022 17:21:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 426AA3858D38 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38466) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1of2eK-0004bj-Kw; Sun, 02 Oct 2022 13:21:08 -0400 Received: from [87.69.77.57] (port=3846 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1of2eJ-0003YZ-VZ; Sun, 02 Oct 2022 13:21:08 -0400 Date: Sun, 02 Oct 2022 20:21:00 +0300 Message-Id: <835yh216rn.fsf@gnu.org> From: Eli Zaretskii To: Andrew Burgess Cc: gdb-patches@sourceware.org In-Reply-To: <3ea56551906f0e7815950c3dc98747ce86b6e64d.1664729722.git.aburgess@redhat.com> (message from Andrew Burgess via Gdb-patches on Sun, 2 Oct 2022 18:04:48 +0100) Subject: Re: [PATCHv2 7/7] gdb: some process_stratum_target should not be shared References: <20220921131200.3983844-1-aburgess@redhat.com> <3ea56551906f0e7815950c3dc98747ce86b6e64d.1664729722.git.aburgess@redhat.com> X-Spam-Status: No, score=1.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org 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: Sun, 02 Oct 2022 17:21:10 -0000 > Date: Sun, 2 Oct 2022 18:04:48 +0100 > From: Andrew Burgess via Gdb-patches > > gdb/NEWS | 7 + > gdb/corelow.c | 5 + > gdb/doc/gdb.texinfo | 37 ++++- > gdb/inferior.c | 16 ++ > gdb/inferior.h | 6 +- > gdb/target.c | 14 ++ > gdb/target.h | 8 + > gdb/testsuite/gdb.multi/multi-core-files-1.c | 37 +++++ > gdb/testsuite/gdb.multi/multi-core-files-2.c | 31 ++++ > gdb/testsuite/gdb.multi/multi-core-files.exp | 156 +++++++++++++++++++ > 10 files changed, 313 insertions(+), 4 deletions(-) > create mode 100644 gdb/testsuite/gdb.multi/multi-core-files-1.c > create mode 100644 gdb/testsuite/gdb.multi/multi-core-files-2.c > create mode 100644 gdb/testsuite/gdb.multi/multi-core-files.exp Thanks, the documentation parts are OK, with this minor nit: > +Like @code{add-inferior}, @code{clone-inferior} shares the connection > +with the inferior @var{infno}. If the @var{-no-connection} option is > +given then the new inferior will be created without a connection. If ^ A comma is missing there.