From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id G/fvFezfDGNTaC8AWB0awg (envelope-from ) for ; Mon, 29 Aug 2022 11:49:00 -0400 Received: by simark.ca (Postfix, from userid 112) id 4D46F1E4A7; Mon, 29 Aug 2022 11:49:00 -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=bktbfrp+; 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=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,NICE_REPLY_A,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 C49091E222 for ; Mon, 29 Aug 2022 11:48:54 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 839873857B9B for ; Mon, 29 Aug 2022 15:48:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 839873857B9B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1661788130; bh=XU+XkCQwn4mkZD9HeMQq1vyWthn4ssSScZ9tGWCUbOo=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=bktbfrp+spLxz0HPSbMcaoHvn9YYzeOcyFBDEn4bl+/tR6a61HCIwAdfUWINoNflo u+PL/X6NRIqxV4rSchEBl/n/BxDa0aIBPm6KLMQ2CQVtSgRRL/ZCkkT0UGZzmmC/0s UCE6lA4V9cRmZH4kI+5gC97VJ2IrtE5Cu1HFs4to= Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 0E27C3858D32 for ; Mon, 29 Aug 2022 15:48:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0E27C3858D32 Received: from [10.0.0.11] (unknown [217.28.27.60]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id AF8451E222; Mon, 29 Aug 2022 11:48:25 -0400 (EDT) Message-ID: Date: Mon, 29 Aug 2022 11:48:25 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH] gdb: update ranged_breakpoint::print_one_detail in comments Content-Language: en-US To: Enze Li , gdb-patches@sourceware.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: Simon Marchi via Gdb-patches Reply-To: Simon Marchi Cc: enze.li@gmx.com Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On 2022-08-29 08:24, Enze Li via Gdb-patches wrote: > The print_one_detail_ranged_breakpoint has been renamed to > ranged_breakpoint::print_one_detail in this commit: > > commit ec45bb676c9c69c30783bcf35ffdac8280f3b8bc > Date: Sat Jan 15 16:34:51 2022 -0700 > > Convert ranged breakpoints to vtable ops > > So their comments should be updated as well. > --- > gdb/breakpoint.c | 2 +- > gdb/breakpoint.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c > index 8f0b19f8518..63feea9e9cd 100644 > --- a/gdb/breakpoint.c > +++ b/gdb/breakpoint.c > @@ -9215,7 +9215,7 @@ ranged_breakpoint::print_one (bp_location **last_loc) const > > if (opts.addressprint) > /* We don't print the address range here, it will be printed later > - by print_one_detail_ranged_breakpoint. */ > + by ranged_breakpoint::print_one_detail. */ > uiout->field_skip ("addr"); > annotate_field (5); > print_breakpoint_location (this, bl); > diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h > index 93f30c9c13d..360fa760577 100644 > --- a/gdb/breakpoint.h > +++ b/gdb/breakpoint.h > @@ -691,7 +691,7 @@ struct breakpoint > breakpoint description in "info breakpoints". > > In the example below, the "address range" line was printed > - by print_one_detail_ranged_breakpoint. > + by ranged_breakpoint::print_one_detail. > > (gdb) info breakpoints > Num Type Disp Enb Address What Thanks, this is OK. Simon