This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb breakpoint.c breakpoint.h
- From: vprus at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 15 Nov 2007 06:52:53 -0000
- Subject: src/gdb breakpoint.c breakpoint.h
CVSROOT: /cvs/src
Module name: src
Changes by: vprus@sourceware.org 2007-11-15 06:52:53
Modified files:
gdb : breakpoint.c breakpoint.h
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.c.diff?cvsroot=src&r1=1.280&r2=1.281
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.h.diff?cvsroot=src&r1=1.56&r2=1.57