diff options
author | Tom Tromey <tom@tromey.com> | 2022-04-30 12:31:15 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-05-06 12:03:34 -0600 |
commit | b713485d666a822a9e65c0272c8d7de51baa8b5f (patch) | |
tree | ffaa0436bdee2688deabb70bd3bf6c97fc6450c4 /gdb/breakpoint.h | |
parent | a67bcaba1c47a01826ed2769a41f84c533183ddf (diff) | |
download | gdb-b713485d666a822a9e65c0272c8d7de51baa8b5f.zip gdb-b713485d666a822a9e65c0272c8d7de51baa8b5f.tar.gz gdb-b713485d666a822a9e65c0272c8d7de51baa8b5f.tar.bz2 |
Constify breakpoint::print_mention
This constifies breakpoint::print_mention.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r-- | gdb/breakpoint.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index 1b399d4..4f27262 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -699,7 +699,7 @@ struct breakpoint /* Display information about this breakpoint after setting it (roughly speaking; this is called from "mention"). */ - virtual void print_mention (); + virtual void print_mention () const; /* Print to FP the CLI command that recreates this breakpoint. */ virtual void print_recreate (struct ui_file *fp); @@ -880,7 +880,7 @@ struct watchpoint : public breakpoint virtual bool works_in_software_mode () const; enum print_stop_action print_it (const bpstat *bs) const override; - void print_mention () override; + void print_mention () const override; void print_recreate (struct ui_file *fp) override; bool explains_signal (enum gdb_signal) override; @@ -961,7 +961,7 @@ struct tracepoint : public breakpoint const address_space *aspace, CORE_ADDR bp_addr, const target_waitstatus &ws) override; void print_one_detail (struct ui_out *uiout) const override; - void print_mention () override; + void print_mention () const override; void print_recreate (struct ui_file *fp) override; std::vector<symtab_and_line> decode_location (struct event_location *location, |