From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id XFMOAS3NbWB5bwAAWB0awg (envelope-from ) for ; Wed, 07 Apr 2021 11:18:05 -0400 Received: by simark.ca (Postfix, from userid 112) id EDC761E965; Wed, 7 Apr 2021 11:18:04 -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 683EA1E54D for ; Wed, 7 Apr 2021 11:18:04 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 26DF23938399; Wed, 7 Apr 2021 15:18:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 26DF23938399 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617808684; bh=7SHyyrWhCMj403HRkth9JT8zrqkCmsqYMoM0tNmq7T8=; h=Date:To:In-Reply-To:Subject:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=cr5sQeiclRmRJyQBofJePM0x5aQ+y0wBHyTPEkwhX3x9jqbVSIDsQ8Krt1/wyQuiK rLA3TBPr0dUMOErG7MhFcNzNWmSnBRxBc9Y0mUfNJjKPNMTORtGyxeSCD9oREcyZfr GzLlzAvnpeG9wTOfftaB9kVpmCCzbin5qEVMhCi0= Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id AAF533938399 for ; Wed, 7 Apr 2021 15:18:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org AAF533938399 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48403) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lU9wM-0006gx-VL; Wed, 07 Apr 2021 11:17:58 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2098 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lU9wM-0001Wt-Dj; Wed, 07 Apr 2021 11:17:58 -0400 Date: Wed, 07 Apr 2021 18:18:00 +0300 Message-Id: <83pmz69l93.fsf@gnu.org> To: Tankut Baris Aktemur In-Reply-To: <30001cddf6183155c7355df3c74848881f2d80c4.1617806599.git.tankut.baris.aktemur@intel.com> (message from Tankut Baris Aktemur via Gdb-patches on Wed, 7 Apr 2021 16:55:59 +0200) Subject: Re: [PATCH 4/4] gdb/mi: add a '-b' flag to the '-break-insert' cmd to force the condition References: <30001cddf6183155c7355df3c74848881f2d80c4.1617806599.git.tankut.baris.aktemur@intel.com> 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: Eli Zaretskii via Gdb-patches Reply-To: Eli Zaretskii Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" > Date: Wed, 7 Apr 2021 16:55:59 +0200 > From: Tankut Baris Aktemur via Gdb-patches > > diff --git a/gdb/NEWS b/gdb/NEWS > index 6cf76a14317..0232ab92419 100644 > --- a/gdb/NEWS > +++ b/gdb/NEWS > @@ -31,6 +31,13 @@ > equivalent of the CLI's "break -qualified" and "dprintf > -qualified". > > + ** '-break-insert -b' and '-dprintf-insert -b' > + > + The MI -break-insert and -dprintf-insert commands now support a > + '-b' flag to forcibly define a condition even when the condition > + is invalid at all locations of the breakpoint. This is equivalent > + to the '--force-condition' flag of the CLI's "break" command. By "invalid at all locations" did you mean "invalid for some of the locations"? IOW, does this flag handle the case when the condition is valid for some locations and invalid for others, or is it specifically for the case when the condition is invalid for _all_ the locations?