From b689366feb08733300a2613ea7189465d77532ca Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Thu, 15 Nov 2007 06:52:53 +0000 Subject: [PATCH] Apply const qualifier to some users of bp_location. * breakpoint.h (struct bpstats): Make the breakpoint_at field point at const bp_location. * breakpoint.c (bpstat_alloc): Accept const bp_location. (breakpoint_here_p, breakpoint_inserted_here_p) (software_breakpoint_inserted_here_p) (breakpoint_thread_match, bpstat_stop_status) (read_memory_nobpt, bpstat_have_active_hw_watchpoints): Use const bp_location for iteration. (print_it_typical, print_bp_stop_message): Use const bp_location variable. --- ChangeLog | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index f201015c1..00b62a804 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,18 @@ +2007-10-15 Vladimir Prus + + Apply const qualifier to some users of bp_location. + * breakpoint.h (struct bpstats): Make + the breakpoint_at field point at const bp_location. + * breakpoint.c (bpstat_alloc): Accept const + bp_location. + (breakpoint_here_p, breakpoint_inserted_here_p) + (software_breakpoint_inserted_here_p) + (breakpoint_thread_match, bpstat_stop_status) + (read_memory_nobpt, bpstat_have_active_hw_watchpoints): Use + const bp_location for iteration. + (print_it_typical, print_bp_stop_message): Use + const bp_location variable. + 2007-10-15 Vladimir Prus Make mark_breakpoints_out static.