GNU Binutils with patches for OS216
Revision | 3675a06a823132663f7c2376796c5345032fddad (tree) |
---|---|
Time | 2015-07-21 00:49:22 |
Author | Yao Qi <yao.qi@lina...> |
Commiter | Yao Qi |
Fix ARI warnings to nat/aarch64-linux-hw-point.{c,h}
This patch is to fix two ARI warnings for nat/aarch64-linux-hw-point.{c,h}.
gdb:
2015-07-20 Yao Qi <yao.qi@linaro.org>
* nat/aarch64-linux-hw-point.c (aarch64_handle_unaligned_watchpoint):
Re-indent the code.
* nat/aarch64-linux-hw-point.h: Use ULONGEST rather than
"unsigned long long".
@@ -1,3 +1,10 @@ | ||
1 | +2015-07-20 Yao Qi <yao.qi@linaro.org> | |
2 | + | |
3 | + * nat/aarch64-linux-hw-point.c (aarch64_handle_unaligned_watchpoint): | |
4 | + Re-indent the code. | |
5 | + * nat/aarch64-linux-hw-point.h: Use ULONGEST rather than | |
6 | + "unsigned long long". | |
7 | + | |
1 | 8 | 2015-07-18 Kevin Buettner <kevinb@redhat.com> |
2 | 9 | |
3 | 10 | * dwarf2read.c (dwarf2_locate_sections): Allow has_section_at_zero |
@@ -409,12 +409,13 @@ aarch64_handle_unaligned_watchpoint (enum target_hw_bp_type type, | ||
409 | 409 | aligned_len); |
410 | 410 | |
411 | 411 | if (show_debug_regs) |
412 | - debug_printf ( | |
413 | -"handle_unaligned_watchpoint: is_insert: %d\n" | |
414 | -" aligned_addr: %s, aligned_len: %d\n" | |
415 | -" next_addr: %s, next_len: %d\n", | |
416 | -is_insert, core_addr_to_string_nz (aligned_addr), aligned_len, | |
417 | -core_addr_to_string_nz (addr), len); | |
412 | + debug_printf ("handle_unaligned_watchpoint: is_insert: %d\n" | |
413 | + " " | |
414 | + "aligned_addr: %s, aligned_len: %d\n" | |
415 | + " " | |
416 | + "next_addr: %s, next_len: %d\n", | |
417 | + is_insert, core_addr_to_string_nz (aligned_addr), | |
418 | + aligned_len, core_addr_to_string_nz (addr), len); | |
418 | 419 | |
419 | 420 | if (ret != 0) |
420 | 421 | return ret; |
@@ -102,7 +102,7 @@ | ||
102 | 102 | ptrace calls to the kernel, i.e. avoid asking the kernel to write |
103 | 103 | to the debug registers with unchanged values. */ |
104 | 104 | |
105 | -typedef unsigned long long dr_changed_t; | |
105 | +typedef ULONGEST dr_changed_t; | |
106 | 106 | |
107 | 107 | /* Set each of the lower M bits of X to 1; assert X is wide enough. */ |
108 | 108 |