From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4698 invoked by alias); 2 Mar 2016 16:21:42 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 4681 invoked by uid 89); 2 Mar 2016 16:21:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=376, bnd, UD:gdb.arch, gdb.arch X-HELO: mga09.intel.com Received: from mga09.intel.com (HELO mga09.intel.com) (134.134.136.24) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 02 Mar 2016 16:21:41 +0000 Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP; 02 Mar 2016 08:21:39 -0800 X-ExtLoop1: 1 Received: from irvmail001.ir.intel.com ([163.33.26.43]) by FMSMGA003.fm.intel.com with ESMTP; 02 Mar 2016 08:21:39 -0800 Received: from ulvlx001.iul.intel.com (ulvlx001.iul.intel.com [172.28.207.17]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id u22GLbTt024359; Wed, 2 Mar 2016 16:21:37 GMT Received: from ulvlx001.iul.intel.com (localhost [127.0.0.1]) by ulvlx001.iul.intel.com with ESMTP id u22GLbHN001860; Wed, 2 Mar 2016 17:21:37 +0100 Received: (from wtedesch@localhost) by ulvlx001.iul.intel.com with œ id u22GLaAF001856; Wed, 2 Mar 2016 17:21:36 +0100 From: Walfred Tedeschi To: palves@redhat.com, eliz@gnu.org, brobecker@adacore.com Cc: gdb-patches@sourceware.org, Walfred Tedeschi Subject: [PATCH V4 0/2] BND register initialization Date: Wed, 02 Mar 2016 16:21:00 -0000 Message-Id: <1456935689-1820-1-git-send-email-walfred.tedeschi@intel.com> X-IsSubscribed: yes X-SW-Source: 2016-03/txt/msg00034.txt.bz2 Former patch series for Intel(R) MPX ABI was converted into two patches. 1. Initialization of bnd registers previous of performing inferior calls. 2. Addition of mpx-bnd-init-on-return setting. The initialization of bnd registers was added also for i386, instead of concentrating all code for amd64. On the other hand the patch introducing the POINTER class, submitted in V3, was removed. Thanks again for your review, -Fred Walfred Tedeschi (2): Initialize bnd register before performing inferior calls. Add mpx-bnd-init-on-return set/show command for inferior calls. gdb/NEWS | 4 + gdb/amd64-tdep.c | 60 +++++++++++++++ gdb/doc/gdb.texinfo | 20 +++++ gdb/i386-tdep.c | 72 +++++++++++++++++- gdb/i387-tdep.h | 3 + gdb/testsuite/gdb.arch/i386-mpx-call.c | 126 +++++++++++++++++++++++++++++++ gdb/testsuite/gdb.arch/i386-mpx-call.exp | 92 ++++++++++++++++++++++ 7 files changed, 376 insertions(+), 1 deletion(-) create mode 100644 gdb/testsuite/gdb.arch/i386-mpx-call.c create mode 100644 gdb/testsuite/gdb.arch/i386-mpx-call.exp -- 2.1.4