From: Andrew Pinski Date: Sat, 19 Sep 2015 22:16:43 +0000 (+0000) Subject: 2015-09-19 Andrew Pinski X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9af9f32093ac199b22353262133e16e77e811695;p=thirdparty%2Fbinutils-gdb.git 2015-09-19 Andrew Pinski * gdb.arch/aarch64-atomic-inst.c: Use unsigned long long instead of unsigned long to fix for ILP32. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2a1cc072757..7320b9546e9 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-09-19 Andrew Pinski + + * gdb.arch/aarch64-atomic-inst.c: Use unsigned long long + instead of unsigned long to fix for ILP32. + 2015-09-03 Pierre-Marie de Rodat * gdb.ada/funcall_char.exp: New testcase. diff --git a/gdb/testsuite/gdb.arch/aarch64-atomic-inst.c b/gdb/testsuite/gdb.arch/aarch64-atomic-inst.c index 2d9c4f31ea3..0c31ce6abab 100644 --- a/gdb/testsuite/gdb.arch/aarch64-atomic-inst.c +++ b/gdb/testsuite/gdb.arch/aarch64-atomic-inst.c @@ -17,8 +17,8 @@ int main(void) { - unsigned long tmp, cond; - unsigned long dword = 0; + unsigned long long tmp, cond; + unsigned long long dword = 0; /* Test that we can step over ldxr/stxr. This sequence should step from ldxr to the following __asm __volatile. */