From a67bcaba1c47a01826ed2769a41f84c533183ddf Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 30 Apr 2022 12:25:36 -0600 Subject: Constify breakpoint::print_one This constifies breakpoint::print_one. --- gdb/ada-lang.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/ada-lang.c') diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 7d03e33..68d160a 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -12131,7 +12131,7 @@ struct ada_catchpoint : public base_breakpoint void re_set () override; void check_status (struct bpstat *bs) override; enum print_stop_action print_it (const bpstat *bs) const override; - bool print_one (struct bp_location **) override; + bool print_one (bp_location **) const override; void print_mention () override; void print_recreate (struct ui_file *fp) override; @@ -12383,7 +12383,7 @@ ada_catchpoint::print_it (const bpstat *bs) const catchpoint kinds. */ bool -ada_catchpoint::print_one (struct bp_location **last_loc) +ada_catchpoint::print_one (bp_location **last_loc) const { struct ui_out *uiout = current_uiout; struct value_print_options opts; -- cgit v1.1