aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-12-23 14:57:39 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-12-23 14:57:39 +0000
commit6538471c25155c4230f325e022a091d782a81fad (patch)
tree6f4fad8a4dea5bf2b91575121d28701a405f881c /gdb/testsuite
parent3b7962f9540aac669d97751e7568ac91f909ec3f (diff)
downloadgdb-6538471c25155c4230f325e022a091d782a81fad.zip
gdb-6538471c25155c4230f325e022a091d782a81fad.tar.gz
gdb-6538471c25155c4230f325e022a091d782a81fad.tar.bz2
gdb/testsuite/
Fix compatibility with gcc-4.7. * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog3
-rw-r--r--gdb/testsuite/gdb.python/py-frame-inline.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 98e692c..d00dcb8 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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
diff --git a/gdb/testsuite/gdb.python/py-frame-inline.c b/gdb/testsuite/gdb.python/py-frame-inline.c
index d88e666..fd93d17 100644
--- a/gdb/testsuite/gdb.python/py-frame-inline.c
+++ b/gdb/testsuite/gdb.python/py-frame-inline.c
@@ -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