From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id AMvYKisjbmB8eQAAWB0awg (envelope-from ) for ; Wed, 07 Apr 2021 17:24:59 -0400 Received: by simark.ca (Postfix, from userid 112) id A1F3B1E965; Wed, 7 Apr 2021 17:24:59 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham 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 EC0BC1E01F for ; Wed, 7 Apr 2021 17:24:58 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A8E673939C36; Wed, 7 Apr 2021 21:24:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A8E673939C36 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617830698; bh=BAqi+N3AdzUmaM3lMaeTutYOKp8YoIYCKPU1A86YBA0=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=loPdI6TDnTXR1l9JhMSipK2vS94wrYDoOYcT9FiBCAiy8MziXCtBFyUPkIY29YcT+ k2+uJdiKBcUYUxDkdYByp0WWxGM+uio7ITu2MkeEQiEX/77wwXXjs0eIjaxOEONYZz mo5BGY6SUK6cH9zYywueT1uO9UTdBTQCclaLihXI= Received: from smtp.polymtl.ca (smtp.polymtl.ca [132.207.4.11]) by sourceware.org (Postfix) with ESMTPS id 419FB3939C34 for ; Wed, 7 Apr 2021 21:24:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 419FB3939C34 Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 137LOjuO008765 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 7 Apr 2021 17:24:50 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 137LOjuO008765 Received: from [10.0.0.11] (192-222-157-6.qc.cable.ebox.net [192.222.157.6]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 99C381E01F; Wed, 7 Apr 2021 17:24:45 -0400 (EDT) Subject: Re: [PATCH 0/2] Breakpoint conditions at locations with differing contexts To: Jonah Graham , Tankut Baris Aktemur References: Message-ID: Date: Wed, 7 Apr 2021 17:24:45 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Poly-FromMTA: (simark.ca [158.69.221.121]) at Wed, 7 Apr 2021 21:24:45 +0000 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: Simon Marchi via Gdb-patches Reply-To: Simon Marchi Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" On 2021-04-05 1:45 p.m., Jonah Graham wrote:> On Fri, 31 Jul 2020 at 11:42, Tankut Baris Aktemur via Gdb-patches < > 26^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="",cond="invalid > condition > here",times="0",original-location="main"},{number="1.1",enabled="N*",addr="0x0000000000001160",func="main",file="../src/bug572589.c",fullname="/scratch/eclipse/src/cdt/runtime-CDT/bug572589/src/bug572589.c",line="20",thread-groups=["i1"]} Hi Jonah, Off-topic, but if you look at the MI output above, you'll note that it's not valid syntax. A proper / strict MI parser should reject it. This has been fixed in MI3: https://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI-Development-and-Front-Ends.html#GDB_002fMI-Development-and-Front-Ends So you might want to consider upgrading to MI3 for GDB versions >= 9.1. This is the commit that fixed it: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b4be1b0648608a2578bbed39841c8ee411773edd Simon