From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id e5N8HfclbmC3eQAAWB0awg (envelope-from ) for ; Wed, 07 Apr 2021 17:36:55 -0400 Received: by simark.ca (Postfix, from userid 112) id 68B661E965; Wed, 7 Apr 2021 17:36:55 -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.5 required=5.0 tests=DKIM_SIGNED, MAILING_LIST_MULTI,RDNS_DYNAMIC,T_DKIM_INVALID,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 87AB11E01F for ; Wed, 7 Apr 2021 17:36:54 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C46463939C31; Wed, 7 Apr 2021 21:36:53 +0000 (GMT) Received: from pb-smtp2.pobox.com (pb-smtp2.pobox.com [64.147.108.71]) by sourceware.org (Postfix) with ESMTPS id 3CA3C3939C31 for ; Wed, 7 Apr 2021 21:36:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3CA3C3939C31 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=kichwacoders.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=jonah@kichwacoders.com Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 542C7BCC01 for ; Wed, 7 Apr 2021 17:36:49 -0400 (EDT) (envelope-from jonah@kichwacoders.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type; s=sasl; bh=RhDx68uEJ/nVK+fu09O8xYcwccU=; b=w3qcbq HeBTNazyOvr0WZCPcoCdj4DyupiTF8l/E5HItdnV0ft7DUyl+LYBVxjEp6pDru16 XKiGoV6+Pgc7hOHP0h4o74xPXsmQ3zuOgCRGbG7EnXTmdiFYUnDCERYgbTX7Qog2 XypT0YQ7M9903ZdO8icI4o9CplZHe/NAg/Tik= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 4D478BCC00 for ; Wed, 7 Apr 2021 17:36:49 -0400 (EDT) (envelope-from jonah@kichwacoders.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kichwacoders.com; h=mime-version:references:in-reply-to:from:date:message-id:subject:to:cc:content-type; s=mesmtp; bh=3HCY5ZjiEicX1yndvKnCGeaSh5W/B09xpH7VCd/Agmk=; b=A1/v2K+9KuB2lKfcX/b5rwHWc5fu5AnVxCWyG1/NPBIIytW5RRzQrKX+4NUvH9uKRa3pIo6ydcWgxNLJWlK1l+KVHJ4TEPluNvnQdgkcSkHLPNPQkUkeRmuR4tYr5MPvE0cn880/9OvoMAfD2qt3mXpHlWdjesvxHOCcMNjOhkE= Received: from mail-wr1-f41.google.com (unknown [209.85.221.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id B9776BCBFF for ; Wed, 7 Apr 2021 17:36:48 -0400 (EDT) (envelope-from jonah@kichwacoders.com) Received: by mail-wr1-f41.google.com with SMTP id a12so9701142wrq.13 for ; Wed, 07 Apr 2021 14:36:48 -0700 (PDT) X-Gm-Message-State: AOAM5302Vp/AEJ2fNp1JupZqNvISQV7Qiul6K5mAWJ1ui38LE/L9b9fQ qBLNWxbkXApw64UV6AsxuLgJk3yag+1pCKSWiwY= X-Google-Smtp-Source: ABdhPJwQju7m9rJKxiPbmpRvP1LNrkj8c+aRrjZ2EEbi0D0nVTe2rnJ8f40dMnzACpEKJ9yAd5ZkUQFF2eu0xwMVoYA= X-Received: by 2002:a05:6000:1a8a:: with SMTP id f10mr6646041wry.232.1617831407854; Wed, 07 Apr 2021 14:36:47 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jonah Graham Date: Wed, 7 Apr 2021 17:36:35 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/2] Breakpoint conditions at locations with differing contexts To: Simon Marchi X-Pobox-Relay-ID: 5BC4D37A-97E9-11EB-AA19-74DE23BA3BAF-18936988!pb-smtp2.pobox.com Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: , Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" On Wed., Apr. 7, 2021, 17:24 Simon Marchi, wrote: > 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. > Thanks Simon for fixing that bug, there are some workarounds in the front end for that. MI3 is on my to do list, I guess that is reason to raise it higher up! Jonah > This is the commit that fixed it: > > > https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b4be1b0648608a2578bbed39841c8ee411773edd > > Simon >