From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 635 invoked by alias); 22 Apr 2015 17:45:55 -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 622 invoked by uid 89); 22 Apr 2015 17:45:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: e06smtp16.uk.ibm.com Received: from e06smtp16.uk.ibm.com (HELO e06smtp16.uk.ibm.com) (195.75.94.112) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 22 Apr 2015 17:45:50 +0000 Received: from /spool/local by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 22 Apr 2015 18:45:47 +0100 Received: from d06dlp02.portsmouth.uk.ibm.com (9.149.20.14) by e06smtp16.uk.ibm.com (192.168.101.146) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 22 Apr 2015 18:45:45 +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 5D5DA2190046 for ; Wed, 22 Apr 2015 18:45:28 +0100 (BST) Received: from d06av12.portsmouth.uk.ibm.com (d06av12.portsmouth.uk.ibm.com [9.149.37.247]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t3MHjiFP60948678 for ; Wed, 22 Apr 2015 17:45:44 GMT Received: from d06av12.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av12.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t3MHjitJ018319 for ; Wed, 22 Apr 2015 11:45:44 -0600 Received: from br87z6lw.boeblingen.de.ibm.com (dyn-9-152-212-115.boeblingen.de.ibm.com [9.152.212.115]) by d06av12.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t3MHjh8h018315 for ; Wed, 22 Apr 2015 11:45:43 -0600 From: Andreas Arnez To: gdb-patches@sourceware.org Subject: [PATCH 0/4] S390: Vector ABI support Date: Wed, 22 Apr 2015 17:45:00 -0000 Message-Id: <1429724743-4603-1-git-send-email-arnez@linux.vnet.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15042217-0025-0000-0000-000004D66C9F X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00828.txt.bz2 This small patch series introduces vector ABI support for S/390 targets to GDB. When an inferior uses the vector ABI, vector arguments are now passed correctly to inferior functions, and a function's return value of vector type can now be inspected and set correctly. Patch #1 fixes a minor issue in is_power_of_two(), which is used by s390_push_dummy_call(). Patches #2 and #3 restructure the implementations of s390_push_dummy_call() and s390_return_value(), respectively, such that they become better readable and extensible, and such that they can more easily be extended towards the vector ABI. Patch #4 then adds the vector ABI support itself. Andreas Arnez (4): S390: For zero, let is_power_of_two() return false S390: Restructure s390_push_dummy_call S390: Re-arrange implementation of s390_return_value S390: Vector ABI support gdb/NEWS | 2 + gdb/s390-linux-tdep.c | 725 +++++++++++++++++++++++++------------------------- 2 files changed, 361 insertions(+), 366 deletions(-) -- 1.9.3