From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52793 invoked by alias); 25 Jan 2018 10:08:36 -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 52781 invoked by uid 89); 25 Jan 2018 10:08:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-12.8 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=H*Ad:D*de.ibm.com 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, 25 Jan 2018 10:08:35 +0000 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w0PA5boN081059 for ; Thu, 25 Jan 2018 05:08:33 -0500 Received: from e06smtp13.uk.ibm.com (e06smtp13.uk.ibm.com [195.75.94.109]) by mx0a-001b2d01.pphosted.com with ESMTP id 2fq970sa37-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 25 Jan 2018 05:08:33 -0500 Received: from localhost by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 25 Jan 2018 10:08:31 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp13.uk.ibm.com (192.168.101.143) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 25 Jan 2018 10:08:29 -0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w0PA8S0d64487436; Thu, 25 Jan 2018 10:08:28 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1C1FF4C040; Thu, 25 Jan 2018 10:02:32 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EB6714C046; Thu, 25 Jan 2018 10:02:31 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Thu, 25 Jan 2018 10:02:31 +0000 (GMT) From: Philipp Rudo To: GDB Patches Cc: Andreas Arnez , Ulrich Weigand Subject: [PATCH] s390: Fix gdb.base/all-architectures.exp with --enable-targets=all Date: Thu, 25 Jan 2018 10:08:00 -0000 X-TM-AS-GCONF: 00 x-cbid: 18012510-0012-0000-0000-000005A79C2D X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18012510-0013-0000-0000-000019232A7B Message-Id: <20180125100828.7599-1-prudo@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-01-25_03:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1801250139 X-IsSubscribed: yes X-SW-Source: 2018-01/txt/msg00514.txt.bz2 Hi everybody my s390 split up patch set introduced a bug. In particular GDB crashes with an internal error when the architecture is set to s390 and the user sets the osabi to something else than Linux. The patch attached fixes this and restores the behavior s390_gdbarch_init had before the split. Please note that the fix is pretty ugly. However i am currently working on dynamically creating the target description for s390. With this in place the ugliness will be (hopefully soon) removed again. Philipp Philipp Rudo (1): s390: Fix gdb.base/all-architectures.exp with --enable-targets=all gdb/s390-linux-tdep.c | 10 ---------- gdb/s390-linux-tdep.h | 2 -- gdb/s390-tdep.c | 23 +++++++++++++++++++++-- gdb/s390-tdep.h | 3 +++ 4 files changed, 24 insertions(+), 14 deletions(-) -- 2.13.5