From 8f1a8fc4df2244f548d55fbecce20b7cd6f90e16 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Tue, 11 Oct 2016 19:09:05 +0200 Subject: [PATCH] testsuite: Fix gdb.arch/powerpc-prologue.c compilation gcc-6.2.1 gdb compile failed, gdb/testsuite/gdb.arch/powerpc-prologue.c: In function 'main': gdb/testsuite/gdb.arch/powerpc-prologue.c:32:3: warning: implicit declaration of function 'optimized_1' [-Wimplicit-function-declaration] optimized_1 (); ^~~~~~~~~~~ gdb/testsuite/ChangeLog 2016-10-11 Jan Kratochvil * gdb.arch/powerpc-prologue.c (optimized_1): New declaration. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.arch/powerpc-prologue.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index b6ba0ecb470..b4ccd4aca57 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-10-11 Jan Kratochvil + + * gdb.arch/powerpc-prologue.c (optimized_1): New declaration. + 2016-10-11 Jan Kratochvil * gdb.arch/powerpc-prologue.exp: Use standard_output_file diff --git a/gdb/testsuite/gdb.arch/powerpc-prologue.c b/gdb/testsuite/gdb.arch/powerpc-prologue.c index 6c10dfc83db..a1b80654edc 100644 --- a/gdb/testsuite/gdb.arch/powerpc-prologue.c +++ b/gdb/testsuite/gdb.arch/powerpc-prologue.c @@ -24,6 +24,7 @@ #endif void gdb2029 (void); +void optimized_1 (void); int main (void) -- 2.30.2