Make bp_location usage const
Vladimir Prus
ghost@cs.msu.su
Wed Nov 14 17:34:00 GMT 2007
Vladimir Prus wrote:
>
> Many parts of breakpoint.c make only read-only use
> of breakpoint location list. However, it's somewhat
> hard to gather from the code. This patch adds 'const'
> qualifiers in a number of places to make this really
> obvious. OK?
I've missed a couple of locations. Sorry, and here's
the updated patch.
- Volodya
-------------- next part --------------
A non-text attachment was scrubbed...
Name: const_bp_location.diff
Type: text/x-diff
Size: 4271 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20071114/a11136ac/attachment.bin>
More information about the Gdb-patches
mailing list