From 9af9f32093ac199b22353262133e16e77e811695 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Sat, 19 Sep 2015 22:16:43 +0000 Subject: [PATCH] 2015-09-19 Andrew Pinski * gdb.arch/aarch64-atomic-inst.c: Use unsigned long long instead of unsigned long to fix for ILP32. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.arch/aarch64-atomic-inst.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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. */ -- 2.47.2