From a7a0a6a95bc111776129374c46edec3c3c2785cc Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Mon, 15 Feb 2016 19:01:03 +0100 Subject: [PATCH] Add missing gdb.arch/i386-prologue.c prototypes The testfile has not ran because: gdb.arch/i386-prologue.c:34:3: warning: implicit declaration of function 'standard' [-Wimplicit-function-declaration] standard (); ^ gdb.arch/i386-prologue.c:35:3: warning: implicit declaration of function 'stack_align_ecx' [-Wimplicit-function-declaration] stack_align_ecx (); ^ gdb.arch/i386-prologue.c:36:3: warning: implicit declaration of function 'stack_align_edx' [-Wimplicit-function-declaration] stack_align_edx (); ^ gdb.arch/i386-prologue.c:37:3: warning: implicit declaration of function 'stack_align_eax' [-Wimplicit-function-declaration] stack_align_eax (); ^ gdb/testsuite/ChangeLog 2016-02-15 Jan Kratochvil * gdb.arch/i386-prologue.c: Add missing prototypes. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.arch/i386-prologue.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 9dc5085..a62d358 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2016-02-15 Jan Kratochvil + * gdb.arch/i386-prologue.c: Add missing prototypes. + +2016-02-15 Jan Kratochvil + * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file. * gdb.arch/i386-prologue.exp: Likewise. * gdb.arch/i386-size.exp: Likewise. diff --git a/gdb/testsuite/gdb.arch/i386-prologue.c b/gdb/testsuite/gdb.arch/i386-prologue.c index 29c48c0..edad366 100644 --- a/gdb/testsuite/gdb.arch/i386-prologue.c +++ b/gdb/testsuite/gdb.arch/i386-prologue.c @@ -27,6 +27,10 @@ void gdb1253 (void); void gdb1718 (void); void gdb1338 (void); void jump_at_beginning (void); +void standard (void); +void stack_align_ecx (void); +void stack_align_edx (void); +void stack_align_eax (void); int main (void) -- 2.7.4