diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2007-11-15 06:52:53 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2007-11-15 06:52:53 +0000 |
commit | cb043f6ab81a80759498accf76e044b85c6bae9a (patch) | |
tree | 24b20e2c624009515781bc0f61b22ec6e8264850 /ChangeLog | |
parent | 21ceb2a4d8feb2ff5153067a1d52b9295123e4e5 (diff) | |
download | gdb-cb043f6ab81a80759498accf76e044b85c6bae9a.tar.gz |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index f201015c1dc..00b62a80450 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,20 @@ 2007-10-15 Vladimir Prus <vladimir@codesourcery.com> + 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 <vladimir@codesourcery.com> + Make mark_breakpoints_out static. * breakpoint.h (mark_breakpoints_out): Remove declaration. |