OSDN Git Service

Apply const qualifier to some users of bp_location.
authorvprus <vprus>
Thu, 15 Nov 2007 06:52:53 +0000 (06:52 +0000)
committervprus <vprus>
Thu, 15 Nov 2007 06:52:53 +0000 (06:52 +0000)
commite98d18ad6591457e89244a9f76e9325e8c69e62e
tree24c7dfa898e72d06c2c5faca0d073ebb0a78f65f
parentc1741c9aa2352aaed91090b7680b3e652498209b
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
gdb/breakpoint.c
gdb/breakpoint.h