public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: "Schimpe, Christina" <christina.schimpe@intel.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
	"brobecker@adacore.com" <brobecker@adacore.com>
Subject: RE: [PATCH 1/1] gdb: Deprecate MPX commands.
Date: Thu, 7 Mar 2024 12:40:08 +0000	[thread overview]
Message-ID: <SN7PR11MB7638D28330233BDC37599E15F9202@SN7PR11MB7638.namprd11.prod.outlook.com> (raw)
In-Reply-To: <86zfva1aqs.fsf@gnu.org>

Hi Eli, 

Thanks a lot for your quick reply.

> "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?

Our goal would be to deprecate the MPX commands for gdb 15, if possible.
Please let me know if there is a problem with that or if there is something required to track this properly for gdb 15. I am not familiar with the procedure. I am adding Joel due to that to this conversation.

We would like to remove MPX for gdb 16.  So yes, we certainly will remove MPX. Hopefully for gdb 16 already.

BR + thanks a lot in advance,
Christina

> -----Original Message-----
> From: Eli Zaretskii <eliz@gnu.org>
> Sent: Thursday, March 7, 2024 1:35 PM
> To: Schimpe, Christina <christina.schimpe@intel.com>
> Cc: gdb-patches@sourceware.org
> Subject: Re: [PATCH 1/1] gdb: Deprecate MPX commands.
> 
> > From: "Schimpe, Christina" <christina.schimpe@intel.com>
> > 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 <eliz@gnu.org>
Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de <http://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


  reply	other threads:[~2024-03-07 12:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-07 12:11 Schimpe, Christina
2024-03-07 12:34 ` Eli Zaretskii
2024-03-07 12:40   ` Schimpe, Christina [this message]
2024-03-07 13:10     ` Eli Zaretskii
2024-03-07 13:30     ` Joel Brobecker
2024-03-08 16:20 ` Tom Tromey
2024-03-12 14:35   ` Schimpe, Christina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SN7PR11MB7638D28330233BDC37599E15F9202@SN7PR11MB7638.namprd11.prod.outlook.com \
    --to=christina.schimpe@intel.com \
    --cc=brobecker@adacore.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).