]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/testsuite/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 23 Dec 2011 14:57:39 +0000 (14:57 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 23 Dec 2011 14:57:39 +0000 (14:57 +0000)
Fix compatibility with gcc-4.7.
* gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-frame-inline.c

index 98e692cfd11ecf56eef17e3d8ee0f5819041d601..d00dcb813bdaeb0b1dc26040bf48524f11a5ecff 100644 (file)
@@ -5,6 +5,9 @@
        into XFAIL "new without size_t".  Permit size_t for the KFAIL case.
        Add comment to add a PASS case in the future.
 
+       Fix compatibility with gcc-4.7.
+       * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
+
 2011-12-21  Ulrich Weigand  <ulrich.weigand@linaro.org>
 
        PR tdep/12797
index d88e666a6b8aa48572c1b43317c85ebdb22ebc3b..fd93d171a2631b8e03f291df9f3d3ae0ee39c15e 100644 (file)
@@ -17,7 +17,7 @@
 
 volatile int v = 42;
 
-__attribute__((__always_inline__)) static int
+__attribute__((__always_inline__)) static inline int
 f (void)
 {
   /* Provide first stub line so that GDB understand the PC is already inside