aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnze Li <enze.li@hotmail.com>2022-08-29 20:15:14 +0800
committerEnze Li <enze.li@hotmail.com>2022-08-30 21:06:51 +0800
commitf79688953fb09dbe5c0ecf33a8db15054d49fb8d (patch)
treec943c01b3e4ee6666f9eb5649b77b54107e4e17c
parent6f4eb56ec7d986030ea4f81f3d9f05180964bbc1 (diff)
downloadbinutils-f79688953fb09dbe5c0ecf33a8db15054d49fb8d.zip
binutils-f79688953fb09dbe5c0ecf33a8db15054d49fb8d.tar.gz
binutils-f79688953fb09dbe5c0ecf33a8db15054d49fb8d.tar.bz2
gdb: update ranged_breakpoint::print_one_detail in comments
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.
-rw-r--r--gdb/breakpoint.c2
-rw-r--r--gdb/breakpoint.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 8f0b19f..63feea9 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 93f30c9..360fa76 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