From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id /eLECZYDnWK3fgoAWB0awg (envelope-from ) for ; Sun, 05 Jun 2022 15:27:18 -0400 Received: by simark.ca (Postfix, from userid 112) id 191EC1E221; Sun, 5 Jun 2022 15:27:18 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=L2Xic56O; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 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 958ED1E01D for ; Sun, 5 Jun 2022 15:27:17 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id DBA243856DCD for ; Sun, 5 Jun 2022 19:27:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DBA243856DCD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1654457236; bh=Z5PCXFk1rPOvnomqAzhy1DCEmRykaDwgrJ1eb85FW5A=; 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=L2Xic56OBIlMZzB8858XXeO2FTgS2Tgz9viwuT31TORcnUentzKVM35HL9mbI4BnN bRnuZGOgFydOtYQARwoSQYhByo3NBWPh95z553V6ocKxBcDtHYgGSh8vTiD1ZJE9R+ rO7rbQwQplL8pAaCDIC3GmtEsl6di+NaBDpD8nIE= Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 0C0F13858418 for ; Sun, 5 Jun 2022 19:26:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0C0F13858418 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49232) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxvtm-0000Zy-Dr; Sun, 05 Jun 2022 15:26:54 -0400 Received: from [87.69.77.57] (port=4527 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxvtk-00070Z-Va; Sun, 05 Jun 2022 15:26:54 -0400 Date: Sun, 05 Jun 2022 22:26:39 +0300 Message-Id: <83r1429aj4.fsf@gnu.org> To: Philippe Waroquiers In-Reply-To: <980bf860a6a9375968c68d1f31009ede20608226.camel@skynet.be> (message from Philippe Waroquiers on Sun, 05 Jun 2022 21:09:36 +0200) Subject: Re: [RFAv2] Show locno for 'multi location' breakpoint hit msg+conv var $bkptno $locno. References: <20220605165759.2433530-1-philippe.waroquiers@skynet.be> <83tu8z8297.fsf@gnu.org> <980bf860a6a9375968c68d1f31009ede20608226.camel@skynet.be> 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+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" > From: Philippe Waroquiers > Cc: gdb-patches@sourceware.org > Date: Sun, 05 Jun 2022 21:09:36 +0200 > > > > +For a @samp{breakpoint-hit} stopped reason, when the breakpoint > > > +encountered has multiple locations, the field @samp{bkptno} is > > > +followed by the field @samp{locno}. > > > > This is a backward-incompatible change, no? Does it require bumping > > the version of the MI protocol? > The documentation indicates that adding a new field in the mi output > can be done without changing the MI version. > I have indicated the below in the commit log: > Note that according to the GDB user manual node 'GDB/MI Development and Front > Ends', it is ok to add new fields without changing the MI version. Does "M-x gdb" in Emacs still work correctly after this change, including the display in the breakpoints buffer?