gdb/testsuite/

Fix compatibility with gcc-4.7.
	* gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
This commit is contained in:
Jan Kratochvil 2011-12-23 14:57:39 +00:00
parent 3b7962f954
commit 6538471c25
2 changed files with 4 additions and 1 deletions

View 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

View 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