From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by sourceware.org (Postfix) with ESMTPS id B4BC43858D1E for ; Wed, 21 Dec 2022 13:40:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B4BC43858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671630018; x=1703166018; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=M17DCH2DcmgrlPrPwfczfPK0kdmQi7WWkHGBPjMrhxY=; b=XMzIUMDW/YpvXWDwq7gmIVD2V6G/KFctAxp4xZg0Pwa/ig3a/5ttmZ7X b+syNyjrezuidk3zkETB9ELXhaOCkRTYmkg5dC1Nkl8ny5KcxrBXzjtSY g+MJJO7jQ0fqzpE32WP8mR0UjCYFgr6gA/+fWFw9zX1QhVHapbMSY6eM4 HUDtZyPLxgmbPxsfoFf0NL24rYSklHENJosY3CbG0Yi/HrqjwTnIWA/7Y 9RGEmPwkmw8q57DlmkF9413jdiStu4VDRVPXcH/GZ2b+APOJiFd/Psq5r CXGat7Kh0/bUnjf2n9qYtAuzgcFpQuopYEIzUCnGV7u9ETkws7T0AohuK g==; X-IronPort-AV: E=McAfee;i="6500,9779,10567"; a="303297925" X-IronPort-AV: E=Sophos;i="5.96,262,1665471600"; d="scan'208";a="303297925" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Dec 2022 05:40:16 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10567"; a="682032238" X-IronPort-AV: E=Sophos;i="5.96,262,1665471600"; d="scan'208";a="682032238" Received: from labpc2315.iul.intel.com (HELO localhost) ([172.28.50.57]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Dec 2022 05:40:14 -0800 From: Christina Schimpe To: gdb-patches@sourceware.org Cc: tom@tromey.com, pedro@palves.net, aburgess@redhat.com, eliz@gnu.org, Christina Schimpe Subject: [PATCH v4 0/3] Apply fixme notes for multi-target support Date: Wed, 21 Dec 2022 14:39:55 +0100 Message-Id: <20221221133958.2111768-1-christina.schimpe@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi all, this is the V4 for the series "Apply fixme notes for multi-target support". It addresses Pedro's and Eli's latest comments. V3 of this series can be found here: https://sourceware.org/pipermail/gdb-patches/2022-September/191763.html. Changes for patch #1: * Split the struct packet_config into two structs packet_config and packet_description to avoid unnecessary copies of a packet's name and title for each new target. This requires a number of interface changes. * Remove unnecessary show_cmd/set_cmd. * Fix some nits. Changes for patch #2: * Fix documentation. I did not make any changes to patch #3 of this series, as it was already approved. Thanks, Christina Christina Schimpe (3): gdb: Make global feature array a per-remote target array gdb: Add per-remote target variables for memory read and write config gdb: Remove workaround for the vCont packet gdb/NEWS | 21 + gdb/doc/gdb.texinfo | 25 +- gdb/remote.c | 1841 +++++++++-------- gdb/testsuite/gdb.base/cond-eval-mode.exp | 9 +- gdb/testsuite/gdb.base/dprintf.exp | 5 +- gdb/testsuite/gdb.base/find-unmapped.exp | 5 +- .../gdb.base/hbreak-in-shr-unsupported.exp | 4 +- gdb/testsuite/gdb.base/remote.exp | 47 +- .../gdb.multi/multi-target-info-inferiors.exp | 6 +- gdb/testsuite/gdb.multi/multi-target.exp.tcl | 8 +- .../connect-without-multi-process.exp | 4 +- .../gdb.server/exit-multiple-threads.exp | 9 +- gdb/testsuite/gdb.server/ext-restart.exp | 5 +- gdb/testsuite/gdb.server/ext-wrapper.exp | 5 +- gdb/testsuite/gdb.server/server-exec-info.exp | 5 +- gdb/testsuite/gdb.server/server-kill.exp | 4 +- .../gdb.server/stop-reply-no-thread-multi.exp | 8 +- .../gdb.server/stop-reply-no-thread.exp | 9 +- .../process-dies-while-handling-bp.exp | 9 +- gdb/testsuite/gdb.trace/change-loc.exp | 4 +- gdb/testsuite/gdb.trace/qtro.exp | 6 +- 21 files changed, 1136 insertions(+), 903 deletions(-) -- 2.25.1 Intel Deutschland GmbH Registered Address: Am Campeon 10, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928