From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7872) id EED8F3858284; Tue, 30 Aug 2022 13:09:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EED8F3858284 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1661864991; bh=KM2WQIR9v433m5i0gXsu8fkUjJNrhbtrsBaIKYZXOxQ=; h=From:To:Subject:Date:From; b=dkhUKPCs+/McJIyr2cmNDTaavnBuGDMiiW3pqR9Amw163HWscjj4mo/Z6MDQR4BqG XNLb6e8YV59eNGhpH9+ehUBG6JBkpvODqptp7IxQm/MRzqDFSy5uWxyw2Z2djQ7E8i 38Up+vCGWxUMx7b4Sk+4dOvsa/zln7B/hF1EbPtY= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Enze Li To: gdb-cvs@sourceware.org Subject: [binutils-gdb] gdb: update ranged_breakpoint::print_one_detail in comments X-Act-Checkin: binutils-gdb X-Git-Author: Enze Li X-Git-Refname: refs/heads/master X-Git-Oldrev: 6f4eb56ec7d986030ea4f81f3d9f05180964bbc1 X-Git-Newrev: f79688953fb09dbe5c0ecf33a8db15054d49fb8d Message-Id: <20220830130951.EED8F3858284@sourceware.org> Date: Tue, 30 Aug 2022 13:09:51 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Df79688953fb0= 9dbe5c0ecf33a8db15054d49fb8d commit f79688953fb09dbe5c0ecf33a8db15054d49fb8d Author: Enze Li Date: Mon Aug 29 20:15:14 2022 +0800 gdb: update ranged_breakpoint::print_one_detail in comments =20 The print_one_detail_ranged_breakpoint has been renamed to ranged_breakpoint::print_one_detail in this commit: =20 commit ec45bb676c9c69c30783bcf35ffdac8280f3b8bc Date: Sat Jan 15 16:34:51 2022 -0700 =20 Convert ranged breakpoints to vtable ops =20 So their comments should be updated as well. Diff: --- 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 =20 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". =20 In the example below, the "address range" line was printed - by print_one_detail_ranged_breakpoint. + by ranged_breakpoint::print_one_detail. =20 (gdb) info breakpoints Num Type Disp Enb Address What