From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) by sourceware.org (Postfix) with ESMTPS id 1399F3882AC6 for ; Tue, 18 Jun 2024 14:32:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1399F3882AC6 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1399F3882AC6 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=192.198.163.16 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718721141; cv=none; b=aaOJQVZJWHELFbz/nLk/9aapCNe6n5P7hZOdaJE+zBQiBw2eXw74kxesvQhIwXvqghG7VCAWv/9soroXZfqTMLcQZjxNemIcVgc7GZVb0KzHJArRDDT+4GfQAUpbqpnWf3Fj/Alv3TfgYw/BRMA2FeMr1qhTwrhdfZHW203pAZ4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718721141; c=relaxed/simple; bh=s88iU79nORC9rQ+IjcJjt/19Vz5tw0M79V6l2MJtZhY=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=J73OhBTMe8+A7dZRrpd8abOq3kx51K7CpvUAsqI7oW+A1k9/q9ksKGqUfqihVEcCXLQXGi6YJnHHAAW+HnzCjxa+YSFbJAQRArK3JDexNkrQY6TMFYVgnKPTj9+oz5nISdrjSQz8a88s7v6DTuW2gb3sexnaEHu5B75oonNB/S8= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718721139; x=1750257139; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=s88iU79nORC9rQ+IjcJjt/19Vz5tw0M79V6l2MJtZhY=; b=EUEqrrXr3lp7JYWvp60JPVR0fJDdu8ifVcF+O3QQ0LImtT/Xu6wzxDMz ALActILV2753Ts1ZFx+GpW/l/GvQI53BPeehEayIgp6cOBqbMQxaOhyDl hKmEPvkbcgGtflcbjG0ms+bSQz1s9cE+oUr3FjQDyU+Nt/3fwWb/rUrHg WeboNalwpzgfcR/Kik88hSzbjlacjx9J4G+I71LqCpfmtxElkWwW1oAwK d36Tew6xXEMTJhEGxNQgzwbx02/PEzxeEdHd61JCKkGog3z9Z628nJDVw 7OHYUKur4F3ajv/bgkqX67ZZbbhD7eloetnJXbjpooDWR7uDAY5AvWYRc Q==; X-CSE-ConnectionGUID: EcMA2IkLSWeoDTqTLXVobA== X-CSE-MsgGUID: tvasHCgKTKWLfOQ2Rg+g6w== X-IronPort-AV: E=McAfee;i="6700,10204,11107"; a="12130166" X-IronPort-AV: E=Sophos;i="6.08,247,1712646000"; d="scan'208";a="12130166" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jun 2024 07:32:18 -0700 X-CSE-ConnectionGUID: OhpZauTTRmKc7QiYIezPqw== X-CSE-MsgGUID: syM8YLGTSDK7sqFlHtf4Ew== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,247,1712646000"; d="scan'208";a="72777942" Received: from gkldtt-dev-004.igk.intel.com (HELO localhost) ([10.123.221.202]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jun 2024 07:32:17 -0700 From: "Schimpe, Christina" To: gdb-patches@sourceware.org Cc: felix.willgerodt@intel.com, eliz@gnu.org Subject: [PATCH v2 0/2] Remove MPX Date: Tue, 18 Jun 2024 14:31:58 +0000 Message-Id: <20240618143200.3220507-1-christina.schimpe@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.1 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,T_SCC_BODY_TEXT_LINE 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 my v2 of the series "Remove MPX". It implements the feedback of Felix. Also it resolves some conflicts and adds some new changes in the gdb/arch/* part that were necessary due to the rebase on latest master. Changes since v1: - Document the removal of the i386 and amd64 implementation of the hooks report_signal_info and get_siginfo_type in the NEWS and in the commit message. - New changes in arch/x86-linux-tdesc-features.c and nat/x86-linux-tdesc.c that were neccessary due to the rebase on latest master. Due to the changes in the NEWS part it would be great if Eli could have a look at it again. v1 of this series can be found here: https://sourceware.org/pipermail/gdb-patches/2024-June/209680.html I am looking forward to your feedback! Christina Schimpe, Christina (2): gdb, testsuite, python: Add missing imports. gdb, gdbserver, python, testsuite: Remove MPX. gdb/NEWS | 7 + gdb/amd64-linux-nat.c | 2 + gdb/amd64-linux-tdep.c | 5 +- gdb/amd64-tdep.c | 22 +- gdb/amd64-tdep.h | 2 + gdb/arch/amd64.c | 8 - gdb/arch/i386.c | 4 +- gdb/arch/x86-linux-tdesc-features.c | 7 +- gdb/data-directory/Makefile.in | 3 +- gdb/doc/gdb.texinfo | 122 ----- gdb/features/Makefile | 2 - gdb/features/i386/32bit-mpx.c | 51 -- gdb/features/i386/32bit-mpx.xml | 45 -- gdb/features/i386/64bit-mpx.c | 51 -- gdb/features/i386/64bit-mpx.xml | 44 -- gdb/i386-linux-tdep.c | 67 +-- gdb/i386-linux-tdep.h | 9 - gdb/i386-tdep.c | 509 +----------------- gdb/i386-tdep.h | 24 +- gdb/i387-tdep.c | 222 +------- gdb/i387-tdep.h | 12 - gdb/nat/x86-linux-tdesc.c | 6 - gdb/nat/x86-xstate.c | 3 +- gdb/python/lib/gdb/dap/varref.py | 1 + gdb/python/lib/gdb/printer/bound_registers.py | 39 -- gdb/target-debug.h | 4 +- gdb/testsuite/gdb.arch/i386-mpx-call.c | 105 ---- gdb/testsuite/gdb.arch/i386-mpx-call.exp | 398 -------------- gdb/testsuite/gdb.arch/i386-mpx-map.c | 61 --- gdb/testsuite/gdb.arch/i386-mpx-map.exp | 56 -- gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c | 92 ---- gdb/testsuite/gdb.arch/i386-mpx-sigsegv.exp | 64 --- gdb/testsuite/gdb.arch/i386-mpx-simple_segv.c | 36 -- .../gdb.arch/i386-mpx-simple_segv.exp | 124 ----- gdb/testsuite/gdb.arch/i386-mpx.c | 59 -- gdb/testsuite/gdb.arch/i386-mpx.exp | 123 ----- gdb/testsuite/gdb.python/py-pp-cast.py | 1 + gdb/testsuite/gdb.python/py-pp-maint.exp | 8 +- gdb/testsuite/gdb.python/py-pp-re-notag.py | 2 +- .../gdb.python/py-prettyprint-stub.py | 1 + gdb/testsuite/lib/gdb.exp | 89 --- gdbserver/i387-fp.cc | 89 +-- gdbserver/linux-x86-low.cc | 2 + gdbserver/netbsd-amd64-low.cc | 2 + gdbsupport/x86-xstate.h | 20 +- 45 files changed, 78 insertions(+), 2525 deletions(-) delete mode 100644 gdb/features/i386/32bit-mpx.c delete mode 100644 gdb/features/i386/32bit-mpx.xml delete mode 100644 gdb/features/i386/64bit-mpx.c delete mode 100644 gdb/features/i386/64bit-mpx.xml delete mode 100644 gdb/python/lib/gdb/printer/bound_registers.py delete mode 100644 gdb/testsuite/gdb.arch/i386-mpx-call.c delete mode 100644 gdb/testsuite/gdb.arch/i386-mpx-call.exp delete mode 100644 gdb/testsuite/gdb.arch/i386-mpx-map.c delete mode 100644 gdb/testsuite/gdb.arch/i386-mpx-map.exp delete mode 100644 gdb/testsuite/gdb.arch/i386-mpx-sigsegv.c delete mode 100644 gdb/testsuite/gdb.arch/i386-mpx-sigsegv.exp delete mode 100644 gdb/testsuite/gdb.arch/i386-mpx-simple_segv.c delete mode 100644 gdb/testsuite/gdb.arch/i386-mpx-simple_segv.exp delete mode 100644 gdb/testsuite/gdb.arch/i386-mpx.c delete mode 100644 gdb/testsuite/gdb.arch/i386-mpx.exp -- 2.34.1 Intel Deutschland GmbH Registered Address: Am Campeon 10, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Sean Fennelly, Jeffrey Schneiderman, Tiffany Doon Silva Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928