From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id 59000385DC21 for ; Mon, 30 Mar 2020 15:14:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 59000385DC21 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 02UF5JAS152010 for ; Mon, 30 Mar 2020 11:14:07 -0400 Received: from ppma04wdc.us.ibm.com (1a.90.2fa9.ip4.static.sl-reverse.com [169.47.144.26]) by mx0b-001b2d01.pphosted.com with ESMTP id 303jr18wuj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 30 Mar 2020 11:14:06 -0400 Received: from pps.filterd (ppma04wdc.us.ibm.com [127.0.0.1]) by ppma04wdc.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 02UFAn7J032321 for ; Mon, 30 Mar 2020 15:14:06 GMT Received: from b03cxnp08026.gho.boulder.ibm.com (b03cxnp08026.gho.boulder.ibm.com [9.17.130.18]) by ppma04wdc.us.ibm.com with ESMTP id 301x769ngd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 30 Mar 2020 15:14:06 +0000 Received: from b03ledav006.gho.boulder.ibm.com (b03ledav006.gho.boulder.ibm.com [9.17.130.237]) by b03cxnp08026.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 02UFE3Wo46924040 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 30 Mar 2020 15:14:03 GMT Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 75D5BC605F; Mon, 30 Mar 2020 15:14:03 +0000 (GMT) Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 35ABCC605A; Mon, 30 Mar 2020 15:14:03 +0000 (GMT) Received: from pedro.localdomain (unknown [9.85.152.63]) by b03ledav006.gho.boulder.ibm.com (Postfix) with ESMTP; Mon, 30 Mar 2020 15:14:03 +0000 (GMT) Received: by pedro.localdomain (Postfix, from userid 1000) id 5780D3C5064; Mon, 30 Mar 2020 12:13:58 -0300 (-03) From: Pedro Franco de Carvalho To: Ulrich Weigand Cc: gdb-patches@sourceware.org Subject: Re: [PATCH v2 3/3] [PowerPC] Fix debug register issues in ppc-linux-nat In-Reply-To: <20200330130331.C3502D803A1@oc3748833570.ibm.com> References: <20200330130331.C3502D803A1@oc3748833570.ibm.com> Date: Mon, 30 Mar 2020 12:13:57 -0300 Message-ID: <874ku5q3ii.fsf@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.645 definitions=2020-03-30_01:2020-03-30, 2020-03-30 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 impostorscore=0 malwarescore=0 suspectscore=1 adultscore=0 bulkscore=0 mlxscore=0 clxscore=1011 mlxlogscore=815 phishscore=0 lowpriorityscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2003300139 X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org 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: , X-List-Received-Date: Mon, 30 Mar 2020 15:14:08 -0000 "Ulrich Weigand" writes: Hello, > Sorry for the late reply to the previous mail. I agree that this > approach is probably the best for now. The ESRCH issue is a pre- > existing problem; if we want to address it in the future, this can > still be done as a follow-on. Ok! Strictly speaking only the HWDEBUG interface would be unavailable for the duration of the GDB session in the previous version of the code, the DEBUGREG one would still be tried the next time. The current one would have neither. But I do think worth sacrificing this improbable case for more clarity in the interface detection code. I've checked the patches in. Thanks a lot for the reviews!! -- Pedro Franco de Carvalho