From accd0bcdfe6914193bba8dec9e6311e608b5c498 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Thu, 26 Oct 2017 09:46:16 +0100 Subject: const-fy function parameter struct address_space *aspace This patch changes the parameter "struct address_space *aspace" to "const address_space *aspace" in many functions. gdb: 2017-10-26 Yao Qi * breakpoint.c (breakpoint_location_address_match): Change "struct address_space *" to "const address_space". (breakpoint_location_address_range_overlap): Likewise. (breakpoint_here_p): Likewise. (breakpoint_in_range_p): Likewise. (moribund_breakpoint_here_p): Likewise. (bp_location_inserted_here_p): Likewise. (software_breakpoint_inserted_here_p): Likewise. (hardware_breakpoint_inserted_here_p): Likewise. (hardware_watchpoint_inserted_in_range): Likewise. (bpstat_check_location): Likewise. (bpstat_stop_status): Likewise. (breakpoint_address_match): Likewise. (breakpoint_address_match_range): Likewise. (breakpoint_location_address_match): Likewise. (breakpoint_location_address_range_overlap): Likewise. (insert_single_step_breakpoint): Likewise. (breakpoint_has_location_inserted_here): Likewise. (single_step_breakpoint_inserted_here_p): Likewise. (pc_at_non_inline_function): Likewise. * breakpoint.h (bpstat_stop_status): Update declaration. (breakpoint_here_p): Likewise. (breakpoint_in_range_p): Likewise. (moribund_breakpoint_here_p): Likewise. (breakpoint_inserted_here_p): Likewise. (software_breakpoint_inserted_here_p): Likewise. (hardware_breakpoint_inserted_here_p): Likewise. (breakpoint_has_location_inserted_here): Likewise. (single_step_breakpoint_inserted_here_p): Likewise. (hardware_watchpoint_inserted_in_range): Likewise. (breakpoint_address_match): Likewise. (insert_single_step_breakpoint): Likewise. (pc_at_non_inline_function): Likewise. * gdbthread.h (thread_has_single_step_breakpoint_here): Likewise. * record.c (record_check_stopped_by_breakpoint): Likewise. * record.h (record_check_stopped_by_breakpoint): Likewise. * thread.c (thread_has_single_step_breakpoint_here): Likewise. --- gdb/ChangeLog | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'gdb/ChangeLog') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3c71797..042c609 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,43 @@ +2017-10-26 Yao Qi + + * breakpoint.c (breakpoint_location_address_match): Change + "struct address_space *" to "const address_space". + (breakpoint_location_address_range_overlap): Likewise. + (breakpoint_here_p): Likewise. + (breakpoint_in_range_p): Likewise. + (moribund_breakpoint_here_p): Likewise. + (bp_location_inserted_here_p): Likewise. + (software_breakpoint_inserted_here_p): Likewise. + (hardware_breakpoint_inserted_here_p): Likewise. + (hardware_watchpoint_inserted_in_range): Likewise. + (bpstat_check_location): Likewise. + (bpstat_stop_status): Likewise. + (breakpoint_address_match): Likewise. + (breakpoint_address_match_range): Likewise. + (breakpoint_location_address_match): Likewise. + (breakpoint_location_address_range_overlap): Likewise. + (insert_single_step_breakpoint): Likewise. + (breakpoint_has_location_inserted_here): Likewise. + (single_step_breakpoint_inserted_here_p): Likewise. + (pc_at_non_inline_function): Likewise. + * breakpoint.h (bpstat_stop_status): Update declaration. + (breakpoint_here_p): Likewise. + (breakpoint_in_range_p): Likewise. + (moribund_breakpoint_here_p): Likewise. + (breakpoint_inserted_here_p): Likewise. + (software_breakpoint_inserted_here_p): Likewise. + (hardware_breakpoint_inserted_here_p): Likewise. + (breakpoint_has_location_inserted_here): Likewise. + (single_step_breakpoint_inserted_here_p): Likewise. + (hardware_watchpoint_inserted_in_range): Likewise. + (breakpoint_address_match): Likewise. + (insert_single_step_breakpoint): Likewise. + (pc_at_non_inline_function): Likewise. + * gdbthread.h (thread_has_single_step_breakpoint_here): Likewise. + * record.c (record_check_stopped_by_breakpoint): Likewise. + * record.h (record_check_stopped_by_breakpoint): Likewise. + * thread.c (thread_has_single_step_breakpoint_here): Likewise. + 2017-10-25 Yao Qi * aarch32-linux-nat.c (aarch32_gp_regcache_supply): Use -- cgit v1.1