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 58E4C3858D35 for ; Thu, 7 Mar 2024 12:34:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 58E4C3858D35 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 58E4C3858D35 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:142:3::10 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709814880; cv=none; b=IgfBQbpPDD053dzahkKnVWejDHWaRKBvmoog8JwSFkLPeRObcXr5saeuiJcC6WHWljxAb6g/rYh3tFaomAr6SCsimWvXAT60zXDe1Pilwdf3EwDgvCFFEG001GaYDJEC7uLDCi2qXzsWAld6T5k3ezIHrlWpAt7sc55GZav10aU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709814880; c=relaxed/simple; bh=wR9v2tsWEvZKvUULflMwfFu6UC6BUMI5oJkQIdhMqmY=; h=DKIM-Signature:Date:Message-Id:From:To:Subject; b=q+T/IUxwH0X5K1wgvyz9eUJToiPnyAxTfAVlABeQ8joDY6DBasY2QbCgr6tGORz1JX3pCPL7O/H+GnVLmOMVzvNEgCXmzUjZGiSkL+HqDDH3O+O6cEh0vGWIo3gDUup3XSKkviCe05fUs90Q5FOTdR0Ommqq6NPAIx3tycbGq4k= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riCxK-000612-Gl; Thu, 07 Mar 2024 07:34:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Ugvix6v7iI6HEvXKSaXSJbZDHIX8IxKU+7i1iNYVJaI=; b=nfqjOhlRKgdo xtMjtmcsVhDxnjhpFM0T7Uf2wE57TMpV4Bfq+IjT1QRV51Fi1cFgvpueVjK7QdCWKnv03HdLULqiH DStoHlvbBIEbcwMKd/3wHCX0EbQBmNppbk48BUsMWT5HlmOf99bMUnkauGLwC79805hQUVEqLBL0t BU4MiPWwQtREuxjoieNhyzQ9CWw5VIZ6wNVCfO8z/XQpHic+dFYs8NLwkNx0bO1Bibd32hDk5LXmQ mRSQLYQjCNztwHRofGijv8Ojn7JJ33q0holSkoWVPjKVEZJUcsNpo2kGGGRmh/e27Uy5ayCh6hFJP mSsDHdkLRZlu6wf95XZykg==; Date: Thu, 07 Mar 2024 14:34:35 +0200 Message-Id: <86zfva1aqs.fsf@gnu.org> From: Eli Zaretskii To: "Schimpe, Christina" Cc: gdb-patches@sourceware.org In-Reply-To: <20240307121111.2010241-1-christina.schimpe@intel.com> Subject: Re: [PATCH 1/1] gdb: Deprecate MPX commands. References: <20240307121111.2010241-1-christina.schimpe@intel.com> X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,SPF_HELO_PASS,SPF_PASS,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: > From: "Schimpe, Christina" > Date: Thu, 7 Mar 2024 12:11:11 +0000 > > This patch deprecates the MPX commands "show/set mpx bound". > Intel listed Intel(R) Memory Protection Extensions (MPX) as removed > in 2019. Following gcc v9.1, the linux kernel v5.6 and glibc v2.35, > deprecate MPX in GDB. > --- > gdb/NEWS | 3 +++ > gdb/doc/gdb.texinfo | 3 +++ > gdb/i386-tdep.c | 6 ++++-- > 3 files changed, 10 insertions(+), 2 deletions(-) Thanks. > diff --git a/gdb/NEWS b/gdb/NEWS > index 2638b3e0d9c..d8ac0bb06a7 100644 > --- a/gdb/NEWS > +++ b/gdb/NEWS > @@ -3,6 +3,9 @@ > > *** Changes since GDB 14 > > +* The MPX commands "show/set mpx bound" have been deprecated, as Intel > + listed MPX as removed in 2019. This part is okay. > --- a/gdb/doc/gdb.texinfo > +++ b/gdb/doc/gdb.texinfo > @@ -26652,6 +26652,9 @@ whose bounds are to be changed, @var{lbound} and @var{ubound} are new values > for lower and upper bounds respectively. > @end table > > +Both commands are deprecated and will be removed in future versions of > +@value{GDBN}. MPX itself was listed as removed by Intel in 2019. "Will be removed" or "might be removed"? IOW, are we certain we will definitely remove this, or do we just want to warn users that we might? Reviewed-By: Eli Zaretskii