From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86573 invoked by alias); 26 Feb 2018 19:30:34 -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 86403 invoked by uid 89); 26 Feb 2018 19:30:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*o:Research 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; Mon, 26 Feb 2018 19:30:18 +0000 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w1QJTixa076233 for ; Mon, 26 Feb 2018 14:30:10 -0500 Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) by mx0a-001b2d01.pphosted.com with ESMTP id 2gcpa1da2c-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 26 Feb 2018 14:30:10 -0500 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 26 Feb 2018 19:30:07 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 26 Feb 2018 19:30:04 -0000 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 w1QJU4fj21102706; Mon, 26 Feb 2018 19:30:04 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7B264A406F; Mon, 26 Feb 2018 19:23:09 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4C0BFA405D; Mon, 26 Feb 2018 19:23:09 +0000 (GMT) Received: from oc1027705133.ibm.com (unknown [9.152.212.169]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Mon, 26 Feb 2018 19:23:09 +0000 (GMT) From: Andreas Arnez To: "Metzger\, Markus T" Cc: "Maciej W. Rozycki" , "gdb-patches\@sourceware.org" Subject: Re: [PATCH v2 5/7] btrace, gdbserver: remove the to_supports_btrace target method References: <1516976072-19282-1-git-send-email-markus.t.metzger@intel.com> <1516976072-19282-6-git-send-email-markus.t.metzger@intel.com> Date: Mon, 26 Feb 2018 19:30:00 -0000 In-Reply-To: (Markus T. Metzger's message of "Mon, 26 Feb 2018 13:08:01 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-GCONF: 00 x-cbid: 18022619-0040-0000-0000-000004381534 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18022619-0041-0000-0000-000020DA3E05 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-26_07:,, 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-1802260247 X-IsSubscribed: yes X-SW-Source: 2018-02/txt/msg00399.txt.bz2 On Mon, Feb 26 2018, Metzger, Markus T wrote: > Hello Maciej, > >> Process .../gdb/testsuite/outputs/gdb.base/advance/advance created; pid = >> 25519 Listening on port 2346 target remote 1.2.3.4:2346 Remote debugging using >> 1.2.3.4:2346 Reading symbols from .../lib/ld.so.1...done. >> 0x77fc8de0 in __start () from .../lib/ld.so.1 Protocol error: qXfer:btrace-conf >> (read-btrace-conf) conflicting enabled responses. >> (gdb) continue >> The program is not being run. >> (gdb) FAIL: gdb.base/advance.exp: can't run to main >> >> See the attached RSP packet exchange log for details. Please investigate. For the record, the same happens on s390x. It seems that you broke all targets without HAVE_LINUX_BTRACE. > Below is a patch to address this. I tested it on IA by undefining HAVE_LINUX_BTRACE. > Does it fix the issue you reported? I've tested your patch on s390x, and it seems to fix the problem. -- Andreas