aboutsummaryrefslogtreecommitdiff
path: root/gdb/break-catch-exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/break-catch-exec.c')
-rw-r--r--gdb/break-catch-exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/break-catch-exec.c b/gdb/break-catch-exec.c
index 6cd4985..2e4ce59 100644
--- a/gdb/break-catch-exec.c
+++ b/gdb/break-catch-exec.c
@@ -49,7 +49,7 @@ struct exec_catchpoint : public catchpoint
CORE_ADDR bp_addr,
const target_waitstatus &ws) override;
enum print_stop_action print_it (const bpstat *bs) const override;
- bool print_one (bp_location **) const override;
+ bool print_one (const bp_location **) const override;
void print_mention () const override;
void print_recreate (struct ui_file *fp) const override;
@@ -110,7 +110,7 @@ exec_catchpoint::print_it (const bpstat *bs) const
}
bool
-exec_catchpoint::print_one (bp_location **last_loc) const
+exec_catchpoint::print_one (const bp_location **last_loc) const
{
struct value_print_options opts;
struct ui_out *uiout = current_uiout;