From 4d1ae558932c17415bbe5b0dbec0a7539a19b6d5 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 30 Apr 2022 12:36:08 -0600 Subject: Constify breakpoint::print_recreate This constifies breakpoint::print_recreate. --- 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 c5b9d08..b11808a 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -12133,7 +12133,7 @@ struct ada_catchpoint : public base_breakpoint enum print_stop_action print_it (const bpstat *bs) const override; bool print_one (bp_location **) const override; void print_mention () const override; - void print_recreate (struct ui_file *fp) override; + void print_recreate (struct ui_file *fp) const override; /* The name of the specific exception the user specified. */ std::string excep_string; @@ -12492,7 +12492,7 @@ ada_catchpoint::print_mention () const exception catchpoint kinds. */ void -ada_catchpoint::print_recreate (struct ui_file *fp) +ada_catchpoint::print_recreate (struct ui_file *fp) const { switch (m_kind) { -- cgit v1.1