This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Add missing gdb.arch/i386-prologue.c prototypes


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a7a0a6a95bc111776129374c46edec3c3c2785cc

commit a7a0a6a95bc111776129374c46edec3c3c2785cc
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Feb 15 19:01:03 2016 +0100

    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  <jan.kratochvil@redhat.com>
    
    	* gdb.arch/i386-prologue.c: Add missing prototypes.

Diff:
---
 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  <jan.kratochvil@redhat.com>
 
+	* gdb.arch/i386-prologue.c: Add missing prototypes.
+
+2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
 	* 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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]