]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb: update ranged_breakpoint::print_one_detail in comments
authorEnze Li <enze.li@hotmail.com>
Mon, 29 Aug 2022 12:15:14 +0000 (20:15 +0800)
committerEnze Li <enze.li@hotmail.com>
Tue, 30 Aug 2022 13:06:51 +0000 (21:06 +0800)
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
gdb/breakpoint.h

index 8f0b19f8518415bbbaf1675498e533076899554f..63feea9e9cde144150c6f3d917d98ae025f2e023 100644 (file)
@@ -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);
index 93f30c9c13d478c6861334c864f2a1f577949f75..360fa760577396ada7bd529890abc1819302eca0 100644 (file)
@@ -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