• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revision3675a06a823132663f7c2376796c5345032fddad (tree)
Time2015-07-21 00:49:22
AuthorYao Qi <yao.qi@lina...>
CommiterYao Qi

Log Message

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".

Change Summary

Incremental Difference

--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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+
18 2015-07-18 Kevin Buettner <kevinb@redhat.com>
29
310 * dwarf2read.c (dwarf2_locate_sections): Allow has_section_at_zero
--- a/gdb/nat/aarch64-linux-hw-point.c
+++ b/gdb/nat/aarch64-linux-hw-point.c
@@ -409,12 +409,13 @@ aarch64_handle_unaligned_watchpoint (enum target_hw_bp_type type,
409409 aligned_len);
410410
411411 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);
418419
419420 if (ret != 0)
420421 return ret;
--- a/gdb/nat/aarch64-linux-hw-point.h
+++ b/gdb/nat/aarch64-linux-hw-point.h
@@ -102,7 +102,7 @@
102102 ptrace calls to the kernel, i.e. avoid asking the kernel to write
103103 to the debug registers with unchanged values. */
104104
105-typedef unsigned long long dr_changed_t;
105+typedef ULONGEST dr_changed_t;
106106
107107 /* Set each of the lower M bits of X to 1; assert X is wide enough. */
108108