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-syscall.c | |
parent | accd0bcdfe6914193bba8dec9e6311e608b5c498 (diff) | |
download | gdb-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/break-catch-syscall.c')
-rw-r--r-- | gdb/break-catch-syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/break-catch-syscall.c b/gdb/break-catch-syscall.c index 82d3e36..b0ed4d2 100644 --- a/gdb/break-catch-syscall.c +++ b/gdb/break-catch-syscall.c @@ -157,7 +157,7 @@ remove_catch_syscall (struct bp_location *bl, enum remove_bp_reason reason) static int breakpoint_hit_catch_syscall (const struct bp_location *bl, - struct address_space *aspace, CORE_ADDR bp_addr, + const address_space *aspace, CORE_ADDR bp_addr, const struct target_waitstatus *ws) { /* We must check if we are catching specific syscalls in this |