From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 89419 invoked by alias); 21 Sep 2017 16:41:05 -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 89406 invoked by uid 89); 21 Sep 2017 16:41:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.6 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=Hx-languages-length:1736 X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0a-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.156.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 21 Sep 2017 16:41:04 +0000 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v8LGerJF112752 for ; Thu, 21 Sep 2017 12:41:02 -0400 Received: from e06smtp10.uk.ibm.com (e06smtp10.uk.ibm.com [195.75.94.106]) by mx0a-001b2d01.pphosted.com with ESMTP id 2d4f1mf7g8-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 21 Sep 2017 12:41:02 -0400 Received: from localhost by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 21 Sep 2017 17:41:00 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp10.uk.ibm.com (192.168.101.140) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 21 Sep 2017 17:40:58 +0100 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v8LGevar22085688 for ; Thu, 21 Sep 2017 16:40:57 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4D09A4C044 for ; Thu, 21 Sep 2017 17:37:20 +0100 (BST) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2FD524C040 for ; Thu, 21 Sep 2017 17:37:20 +0100 (BST) Received: from oc1027705133.ibm.com (unknown [9.152.212.164]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP for ; Thu, 21 Sep 2017 17:37:20 +0100 (BST) From: Andreas Arnez To: gdb-patches@sourceware.org Subject: [PATCH 0/4] S390: Guarded storage register set support Date: Thu, 21 Sep 2017 16:41:00 -0000 X-TM-AS-GCONF: 00 x-cbid: 17092116-0040-0000-0000-000003DC107D X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17092116-0041-0000-0000-000025DD4C4C Message-Id: <1506012057-7965-1-git-send-email-arnez@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-09-21_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1709210225 X-IsSubscribed: yes X-SW-Source: 2017-09/txt/msg00647.txt.bz2 This adds GDB support for the guarded storage register sets available on z14 platforms with a new Linux kernel. The kernel presents two register sets, one of them representing actual hardware registers and the other one being software-based. Andreas Arnez (4): S390: Add guarded-storage register definitions and tdescs S390: Add guarded-storage register support to GDB S390: Add guarded-storage register support to gdbserver S390: Document guarded-storage register support gdb/NEWS | 3 + gdb/doc/gdb.texinfo | 8 ++ gdb/features/Makefile | 5 + gdb/features/s390-gs-linux64.c | 198 ++++++++++++++++++++++++++++++++++++ gdb/features/s390-gs-linux64.xml | 28 +++++ gdb/features/s390-gs.xml | 13 +++ gdb/features/s390-gsbc.xml | 13 +++ gdb/features/s390x-gs-linux64.c | 182 +++++++++++++++++++++++++++++++++ gdb/features/s390x-gs-linux64.xml | 27 +++++ gdb/gdbserver/configure.srv | 8 ++ gdb/gdbserver/linux-s390-low.c | 68 ++++++++++++- gdb/gdbserver/linux-s390-tdesc.h | 9 ++ gdb/regformats/s390-gs-linux64.dat | 133 ++++++++++++++++++++++++ gdb/regformats/s390x-gs-linux64.dat | 117 +++++++++++++++++++++ gdb/s390-linux-nat.c | 22 +++- gdb/s390-linux-tdep.c | 94 ++++++++++++++++- gdb/s390-linux-tdep.h | 16 ++- 17 files changed, 936 insertions(+), 8 deletions(-) create mode 100644 gdb/features/s390-gs-linux64.c create mode 100644 gdb/features/s390-gs-linux64.xml create mode 100644 gdb/features/s390-gs.xml create mode 100644 gdb/features/s390-gsbc.xml create mode 100644 gdb/features/s390x-gs-linux64.c create mode 100644 gdb/features/s390x-gs-linux64.xml create mode 100644 gdb/regformats/s390-gs-linux64.dat create mode 100644 gdb/regformats/s390x-gs-linux64.dat -- 2.5.0