From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 83179 invoked by alias); 18 Sep 2017 18:42:39 -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 82982 invoked by uid 89); 18 Sep 2017 18:42:39 -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_2,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=doomed X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0b-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.158.5) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 18 Sep 2017 18:42:38 +0000 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v8IIdP1G052285 for ; Mon, 18 Sep 2017 14:42:36 -0400 Received: from e06smtp14.uk.ibm.com (e06smtp14.uk.ibm.com [195.75.94.110]) by mx0a-001b2d01.pphosted.com with ESMTP id 2d2g15e0bd-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 18 Sep 2017 14:42:36 -0400 Received: from localhost by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 18 Sep 2017 19:42:35 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp14.uk.ibm.com (192.168.101.144) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 18 Sep 2017 19:42:33 +0100 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v8IIgXQq8192100 for ; Mon, 18 Sep 2017 18:42:33 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8BB5CA4040 for ; Mon, 18 Sep 2017 19:38:36 +0100 (BST) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 68B6FA404D for ; Mon, 18 Sep 2017 19:38:36 +0100 (BST) Received: from oc1027705133.ibm.com (unknown [9.152.212.164]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP for ; Mon, 18 Sep 2017 19:38:36 +0100 (BST) From: Andreas Arnez To: gdb-patches@sourceware.org Subject: [PATCH 0/2] GDB test suite: Support targets with systemd-coredump Date: Mon, 18 Sep 2017 18:42:00 -0000 X-TM-AS-GCONF: 00 x-cbid: 17091818-0016-0000-0000-000004EDDE44 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17091818-0017-0000-0000-000028280D96 Message-Id: <1505760152-28775-1-git-send-email-arnez@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-09-18_07:,, 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-1709180264 X-IsSubscribed: yes X-SW-Source: 2017-09/txt/msg00451.txt.bz2 Various GNU/Linux distributions nowadays ship with systemd-coredump enabled by default. On such systems all GDB test cases dealing with core files are doomed to fail. These patches aim at improving the situation by invoking the coredumpctl command if core dumps can not be located otherwise. Andreas Arnez (2): GDB test suite: Add helper for locating core files GDB test suite: Get core files on targets with systemd-coredump gdb/testsuite/gdb.arch/s390-multiarch.exp | 2 +- gdb/testsuite/gdb.arch/s390-vregs.exp | 6 +- gdb/testsuite/gdb.base/bigcore.exp | 11 +-- gdb/testsuite/gdb.base/break-interp.exp | 2 +- gdb/testsuite/gdb.base/corefile.exp | 2 +- gdb/testsuite/gdb.threads/corethreads.exp | 2 +- gdb/testsuite/lib/gdb.exp | 138 ++++++++++++++++++------------ 7 files changed, 92 insertions(+), 71 deletions(-) -- 2.9.4