This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Fix ARI warning for long long in aarch64-linux-nat.
- From: Marcus Shawcroft <marcus dot shawcroft at arm dot com>
- To: "gdb >> \"gdb-patches at sourceware dot org\"" <gdb-patches at sourceware dot org>
- Date: Wed, 13 Feb 2013 13:03:30 +0000
- Subject: [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