From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id H9/8Iz9Nn2JJNgsAWB0awg (envelope-from ) for ; Tue, 07 Jun 2022 09:06:07 -0400 Received: by simark.ca (Postfix, from userid 112) id 81E2F1E222; Tue, 7 Jun 2022 09:06:07 -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=f4NFFVTM; 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 091241E220 for ; Tue, 7 Jun 2022 09:06:07 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9E3BF3814FEC for ; Tue, 7 Jun 2022 13:06:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9E3BF3814FEC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1654607166; bh=WR2bO90Ke8d3uF2rCaLLKHSunucAT1s8/DxoNT6yMwQ=; 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=f4NFFVTMbA+aPKvXJWy5zifGePWK/lRcN65CcxKgDhtsTg1A3feDI/K7dS3w8mbiI 1XuX4qJ0cuqIG1u37OTa3iOn8HUHZUbwZsK2AZX5OQm24crd/aFV4KzRDk6QoMV4Yc 1wtGsWz1jyMhBh3gOzrDo3Ni5ROHBfNyUMfAa4FE= Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id A13C03814FCA for ; Tue, 7 Jun 2022 13:05:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A13C03814FCA Received: from fencepost.gnu.org ([2001:470:142:3::e]:34586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyYtu-0002K6-La; Tue, 07 Jun 2022 09:05:40 -0400 Received: from [87.69.77.57] (port=3298 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 1nyYtq-0003e1-R6; Tue, 07 Jun 2022 09:05:38 -0400 Date: Tue, 07 Jun 2022 16:05:26 +0300 Message-Id: <83ilpc7hex.fsf@gnu.org> To: Philippe Waroquiers In-Reply-To: (message from Philippe Waroquiers on Sun, 05 Jun 2022 21:44:27 +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> <83r1429aj4.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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:44:27 +0200 > > To test, I have started > emacs -Q # emacs 27.1 > M-x gdb > /absolute/path/to/gdb --nh -i=mi ~/gdb/littleprogs/zeoes >  b some_func # this adds a breakpoint with 2 code locations > M-x gdb-many-windows > > And the breakpoint window shows: > Num Type Disp Enb Addr Hits What > 1 breakpoint keep y 1 in unknown > > Note that I have the same behavior with GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git > > When I create a breakpoint with one code location, this breakpoint is properly shown: > Disp Enb Addr Hits What > 1 breakpoint keep y 1 in unknown > 2 breakpoint keep y 0x00005555555551c6 0 in main of zeoes.c:24 Thanks, this should now be fixed for the upcoming Emacs 28.2.