From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15176 invoked by alias); 11 Sep 2013 15:15:12 -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 15166 invoked by uid 89); 11 Sep 2013 15:15:11 -0000 Received: from e06smtp15.uk.ibm.com (HELO e06smtp15.uk.ibm.com) (195.75.94.111) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 11 Sep 2013 15:15:11 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: e06smtp15.uk.ibm.com Received: from /spool/local by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 11 Sep 2013 16:08:57 +0100 Received: from d06dlp02.portsmouth.uk.ibm.com (9.149.20.14) by e06smtp15.uk.ibm.com (192.168.101.145) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 11 Sep 2013 16:08:56 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id EEB5B2190056 for ; Wed, 11 Sep 2013 16:15:04 +0100 (BST) Received: from d06av09.portsmouth.uk.ibm.com (d06av09.portsmouth.uk.ibm.com [9.149.37.250]) by b06cxnps4074.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r8BFEqBV63307880 for ; Wed, 11 Sep 2013 15:14:52 GMT Received: from d06av09.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id r8BFF4Vw006042 for ; Wed, 11 Sep 2013 09:15:04 -0600 Received: from br87z6lw.de.ibm.com (dyn-9-152-212-143.boeblingen.de.ibm.com [9.152.212.143]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id r8BFF4dj006026 for ; Wed, 11 Sep 2013 09:15:04 -0600 From: Andreas Arnez To: gdb-patches@sourceware.org Subject: [RFA][PATCH v5 0/2] S/390: Add TDB regset support Date: Wed, 11 Sep 2013 15:15:00 -0000 Message-ID: <877genmltz.fsf@br87z6lw.de.ibm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-TM-AS-MML: No X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13091115-0342-0000-0000-0000063C3AF2 X-IsSubscribed: yes X-SW-Source: 2013-09/txt/msg00354.txt.bz2 Another attempt on adding the TDB regset for S/390 targets. This version avoids introducing dynamic regset support. Instead, the TDB regset is unconditionally written into a core dump. Upon reading, before supplying the TDB to the regcache, its validity is verified. If invalid, the TDB registers are cleared to "unavailable" status. Common code should no longer be affected by this version of the patch set. NEWS | 4 + doc/gdb.texinfo | 38 ++++++++++- features/Makefile | 3 features/s390-tdb.xml | 30 +++++++++ features/s390-te-linux64.c | 118 ++++++++++++++++++++++++++++++++++++ features/s390-te-linux64.xml | 25 +++++++ features/s390x-te-linux64.c | 102 +++++++++++++++++++++++++++++++ features/s390x-te-linux64.xml | 24 +++++++ gdbserver/Makefile.in | 7 ++ gdbserver/configure.srv | 5 + gdbserver/linux-s390-low.c | 25 ++++++- regformats/s390-te-linux64.dat | 94 ++++++++++++++++++++++++++++ regformats/s390x-te-linux64.dat | 78 +++++++++++++++++++++++ s390-nat.c | 37 +++++++---- s390-tdep.c | 85 +++++++++++++++++++++++++ s390-tdep.h | 40 +++++++++++- testsuite/gdb.arch/s390-tdbregs.c | 64 +++++++++++++++++++ testsuite/gdb.arch/s390-tdbregs.exp | 75 ++++++++++++++++++++++ 18 files changed, 831 insertions(+), 23 deletions(-)