aboutsummaryrefslogtreecommitdiff
path: root/gdb/break-catch-load.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/break-catch-load.c')
-rw-r--r--gdb/break-catch-load.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/break-catch-load.c b/gdb/break-catch-load.c
index 7f2efd5..99aa185ad 100644
--- a/gdb/break-catch-load.c
+++ b/gdb/break-catch-load.c
@@ -46,7 +46,7 @@ struct solib_catchpoint : public 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;
/* True for "catch load", false for "catch unload". */
bool is_load;
@@ -196,7 +196,7 @@ solib_catchpoint::print_mention () const
}
void
-solib_catchpoint::print_recreate (struct ui_file *fp)
+solib_catchpoint::print_recreate (struct ui_file *fp) const
{
gdb_printf (fp, "%s %s",
disposition == disp_del ? "tcatch" : "catch",