aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2017-10-26 09:46:16 +0100
committerYao Qi <yao.qi@linaro.org>2017-10-26 09:46:16 +0100
commitbd5225139c83a80aad542e46efb66fabf51bff91 (patch)
tree7f58d1f71638d9442a6ba7c93ecc903bd2aedec2 /gdb/breakpoint.h
parentaccd0bcdfe6914193bba8dec9e6311e608b5c498 (diff)
downloadgdb-bd5225139c83a80aad542e46efb66fabf51bff91.zip
gdb-bd5225139c83a80aad542e46efb66fabf51bff91.tar.gz
gdb-bd5225139c83a80aad542e46efb66fabf51bff91.tar.bz2
const-fy breakpoint_ops->breakpoint_hit parameter aspace
gdb: 2017-10-26 Yao Qi <yao.qi@linaro.org> * break-catch-sig.c (signal_catchpoint_breakpoint_hit): Make aspace const. * break-catch-syscall.c (breakpoint_hit_catch_syscall): Likewise. * breakpoint.c (bpstat_check_location): Remove cast. (breakpoint_hit_catch_fork): Make aspce const. (breakpoint_hit_catch_solib): Likewise. (breakpoint_hit_catch_exec): Likewise. (breakpoint_hit_ranged_breakpoint): Likewise. (breakpoint_hit_watchpoint): Likewise. (base_breakpoint_breakpoint_hit): Likewise. (bkpt_breakpoint_hit): Likewise. (dprintf_breakpoint_hit): Likewise. (tracepoint_breakpoint_hit): Likewise. * breakpoint.h (breakpoint_ops) <breakpoint_hit>: Likewise.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r--gdb/breakpoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index c4e55ea..63e879c 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -540,7 +540,7 @@ struct breakpoint_ops
which the inferior stopped, and WS is the target_waitstatus
describing the event. */
int (*breakpoint_hit) (const struct bp_location *bl,
- struct address_space *aspace,
+ const address_space *aspace,
CORE_ADDR bp_addr,
const struct target_waitstatus *ws);