diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-10-26 09:46:16 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-10-26 09:46:16 +0100 |
commit | bd5225139c83a80aad542e46efb66fabf51bff91 (patch) | |
tree | 7f58d1f71638d9442a6ba7c93ecc903bd2aedec2 /gdb/break-catch-sig.c | |
parent | accd0bcdfe6914193bba8dec9e6311e608b5c498 (diff) | |
download | fsf-binutils-gdb-bd5225139c83a80aad542e46efb66fabf51bff91.zip fsf-binutils-gdb-bd5225139c83a80aad542e46efb66fabf51bff91.tar.gz fsf-binutils-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/break-catch-sig.c')
-rw-r--r-- | gdb/break-catch-sig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/break-catch-sig.c b/gdb/break-catch-sig.c index 5bc3aed..5ab7cd3 100644 --- a/gdb/break-catch-sig.c +++ b/gdb/break-catch-sig.c @@ -145,7 +145,7 @@ signal_catchpoint_remove_location (struct bp_location *bl, static int signal_catchpoint_breakpoint_hit (const struct bp_location *bl, - struct address_space *aspace, + const address_space *aspace, CORE_ADDR bp_addr, const struct target_waitstatus *ws) { |