From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id fUnPAxIcb2AmEwAAWB0awg (envelope-from ) for ; Thu, 08 Apr 2021 11:06:58 -0400 Received: by simark.ca (Postfix, from userid 112) id 062711EE0E; Thu, 8 Apr 2021 11:06:58 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.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 74EC11E01F for ; Thu, 8 Apr 2021 11:06:57 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1B2123945C08; Thu, 8 Apr 2021 15:06:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1B2123945C08 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617894417; bh=djWTs5eIPzg7nj7MG+j3BJnt9XQGXTW0vY5vsvCOqlU=; 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=pazFz6/GGoDGUucKfQZkR6sttstBJBL5SNoFGwP1jPqPZTln+D86uqQbUQWhdTgH5 wpqKKj0U0e6XW0HbTL1Z/YUqJS7TR7odVku/N6ZLTdkV+STiuHucza0YNrhX4vaAm6 mkjQ/ucWtLqFWR0H13Xp2aS9FHEKEa45qqjXJ4XM= Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 40CE1385701F for ; Thu, 8 Apr 2021 15:06:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 40CE1385701F Received: from fencepost.gnu.org ([2001:470:142:3::e]:43368) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUWFC-0008Vg-T4; Thu, 08 Apr 2021 11:06:54 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4438 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lUWFA-0004Kx-EO; Thu, 08 Apr 2021 11:06:53 -0400 Date: Thu, 08 Apr 2021 18:06:33 +0300 Message-Id: <83wntc95om.fsf@gnu.org> To: Tankut Baris Aktemur In-Reply-To: (message from Tankut Baris Aktemur via Gdb-patches on Thu, 8 Apr 2021 16:22:39 +0200) Subject: Re: [PATCH v2 4/4] gdb/mi: add a '--force-condition' flag to the '-break-insert' cmd References: 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: Thu, 8 Apr 2021 16:22:39 +0200 > From: Tankut Baris Aktemur via Gdb-patches > > diff --git a/gdb/NEWS b/gdb/NEWS > index 6cf76a14317..66f9d756fc4 100644 > --- a/gdb/NEWS > +++ b/gdb/NEWS > @@ -31,6 +31,14 @@ > equivalent of the CLI's "break -qualified" and "dprintf > -qualified". > > + ** '-break-insert --force-condition' and '-dprintf-insert --force-condition' > + > + The MI -break-insert and -dprintf-insert commands now support a > + '--force-condition' 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. > + > * GDB now supports core file debugging for x86_64 Cygwin programs. This part is OK. > Breakpoint @var{number} will stop the program only if the condition in > @var{expr} is true. The condition becomes part of the > @samp{-break-list} output (see the description of the @samp{-break-list} > -command below). > +command below). If the @samp{-force} flag is passed, the condition > +is forcibly defined even when it is invalid for all locations of > +Breakpoint @var{number}. ^^^^^^^^^^ "Breakpoint" should not be capitalized here. Thanks.