From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id KGURJQZBmGHrDgAAWB0awg (envelope-from ) for ; Fri, 19 Nov 2021 19:27:50 -0500 Received: by simark.ca (Postfix, from userid 112) id 94FFF1F0CE; Fri, 19 Nov 2021 19:27:50 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id BD5551EDEE for ; Fri, 19 Nov 2021 19:27:49 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 278B73857439 for ; Sat, 20 Nov 2021 00:27:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 278B73857439 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1637368069; bh=tqsVUZBUmuTIMyHG+7g2ZOwmhMpAed/lu45Ux1JLa2A=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=OW0HK16iqQt+bxuSgRcVZSx5GRGtCn4PxsafXIex/z/P1w6lltfKLwhpNj39lhBqB bwDGevCQq355sy+Dw9BvDv/ReIghcc87Ku1HtOAJZnc3wTfX5uvMxjsWmxpoQ0lsR+ /wpQoa49LGWg2f+SQUU4q+7NUSNIMMi9fA9MaQVg= Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id E07F83858C3A for ; Sat, 20 Nov 2021 00:27:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E07F83858C3A Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1AK0K7Se012449; Sat, 20 Nov 2021 00:27:27 GMT Received: from ppma01wdc.us.ibm.com (fd.55.37a9.ip4.static.sl-reverse.com [169.55.85.253]) by mx0a-001b2d01.pphosted.com with ESMTP id 3cepctg34d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 20 Nov 2021 00:27:27 +0000 Received: from pps.filterd (ppma01wdc.us.ibm.com [127.0.0.1]) by ppma01wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 1AK0CnFP027674; Sat, 20 Nov 2021 00:27:26 GMT Received: from b01cxnp22036.gho.pok.ibm.com (b01cxnp22036.gho.pok.ibm.com [9.57.198.26]) by ppma01wdc.us.ibm.com with ESMTP id 3cd7c457m6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 20 Nov 2021 00:27:26 +0000 Received: from b01ledav002.gho.pok.ibm.com (b01ledav002.gho.pok.ibm.com [9.57.199.107]) by b01cxnp22036.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 1AK0RNRO22479748 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 20 Nov 2021 00:27:23 GMT Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7DA3B124054; Sat, 20 Nov 2021 00:27:23 +0000 (GMT) Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A05C5124058; Sat, 20 Nov 2021 00:27:22 +0000 (GMT) Received: from li-e362e14c-2378-11b2-a85c-87d605f3c641.ibm.com (unknown [9.163.8.221]) by b01ledav002.gho.pok.ibm.com (Postfix) with ESMTP; Sat, 20 Nov 2021 00:27:22 +0000 (GMT) Message-ID: <4d51616392553dd308672f65f18909ebf0513fc0.camel@us.ibm.com> To: Simon Marchi , gdb-patches@sourceware.org Date: Fri, 19 Nov 2021 16:27:21 -0800 In-Reply-To: References: <3b8e450b9fb4f4bec97a6bfbe6e6a4816be780ee.camel@us.ibm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 (3.28.5-16.el8) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: icrgvPrzomD12LnGYKL9R-LrKYWMxPJX X-Proofpoint-GUID: icrgvPrzomD12LnGYKL9R-LrKYWMxPJX Subject: RE: [PATCH] gdb fix for catch-syscall.exp X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-19_16,2021-11-17_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 mlxlogscore=859 malwarescore=0 impostorscore=0 adultscore=0 clxscore=1015 spamscore=0 lowpriorityscore=0 phishscore=0 mlxscore=0 priorityscore=1501 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2111190128 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Carl Love via Gdb-patches Reply-To: Carl Love Cc: Rogerio Alves Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" Simon: On Thu, 2021-11-18 at 13:10 -0500, Simon Marchi wrote: > > Hi Carl, > > This patch causes this failure regression on Ubuntu 20.04, amd64: > > FAIL: gdb.base/catch-syscall.exp: execve: continue to main > > From gdb.log: > > 615 continue^M > 616 Continuing.^M > 617 process 2022222 is executing new program: > /home/smarchi/build/binutils- > gdb/gdb/testsuite/outputs/gdb.base/catch-syscall/catch-syscall^M > 618 ^M > 619 Catchpoint 18 (returned from syscall execve), 0x00007ffff7fd0100 > in _start () from /lib64/ld-linux-x86-64.so.2^M > 620 (gdb) FAIL: gdb.base/catch-syscall.exp: execve: continue to main > Interesting. I understood that the execve call would not return to the caller except in the case of an error. Not sure why it behaves differently on amd64 versus Power and Intel? Let me take a look and see if I can create a fix with a test multiple to cover both cases. Thanks for letting me know. Carl