This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix ARI warning for long long in aarch64-linux-nat.


Hi,

This patch resolves the ARI gripe about the use of long long in aarch64-linux-nat.


I'll commit this as obvious in a few moments.


/Marcus

2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com>

       * aarch64-linux-nat.c (dr_changed_t): ARI fix: Replace long long
       with LONGEST.
diff --git a/gdb/aarch64-linux-nat.c b/gdb/aarch64-linux-nat.c
index c9106e6..7cbd8b8 100644
--- a/gdb/aarch64-linux-nat.c
+++ b/gdb/aarch64-linux-nat.c
@@ -143,7 +143,7 @@ static int debug_hw_points;
    ptrace calls to the kernel, i.e. avoid asking the kernel to write
    to the debug registers with unchanged values.  */
 
-typedef unsigned long long dr_changed_t;
+typedef unsigned LONGEST dr_changed_t;
 
 /* Set each of the lower M bits of X to 1; assert X is wide enough.  */
 
-- 
1.7.9.5

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]