diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2016-02-15 19:01:03 +0100 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2016-02-15 19:01:03 +0100 |
commit | a7a0a6a95bc111776129374c46edec3c3c2785cc (patch) | |
tree | cc448d4c1712224c9904302cf33375c8c3e69c5d /gdb | |
parent | c99dbb4246fedd500dbdd50514589fc7f95d80c0 (diff) | |
download | gdb-a7a0a6a95bc111776129374c46edec3c3c2785cc.zip gdb-a7a0a6a95bc111776129374c46edec3c3c2785cc.tar.gz gdb-a7a0a6a95bc111776129374c46edec3c3c2785cc.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.arch/i386-prologue.c | 4 |
2 files changed, 8 insertions, 0 deletions
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) |