aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-04-30 12:31:15 -0600
committerTom Tromey <tom@tromey.com>2022-05-06 12:03:34 -0600
commitb713485d666a822a9e65c0272c8d7de51baa8b5f (patch)
treeffaa0436bdee2688deabb70bd3bf6c97fc6450c4 /gdb/ada-lang.c
parenta67bcaba1c47a01826ed2769a41f84c533183ddf (diff)
downloadgdb-b713485d666a822a9e65c0272c8d7de51baa8b5f.zip
gdb-b713485d666a822a9e65c0272c8d7de51baa8b5f.tar.gz
gdb-b713485d666a822a9e65c0272c8d7de51baa8b5f.tar.bz2
Constify breakpoint::print_mention
This constifies breakpoint::print_mention.
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r--gdb/ada-lang.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 68d160a..c5b9d08 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -12132,7 +12132,7 @@ struct ada_catchpoint : public base_breakpoint
void check_status (struct bpstat *bs) override;
enum print_stop_action print_it (const bpstat *bs) const override;
bool print_one (bp_location **) const override;
- void print_mention () override;
+ void print_mention () const override;
void print_recreate (struct ui_file *fp) override;
/* The name of the specific exception the user specified. */
@@ -12440,7 +12440,7 @@ ada_catchpoint::print_one (bp_location **last_loc) const
for all exception catchpoint kinds. */
void
-ada_catchpoint::print_mention ()
+ada_catchpoint::print_mention () const
{
struct ui_out *uiout = current_uiout;