mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 04:25:10 +08:00
* gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
main to avoid warnings. * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
This commit is contained in:
parent
39c2f51bd9
commit
984971d0d4
@ -1,3 +1,10 @@
|
||||
2005-06-29 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
|
||||
main to avoid warnings.
|
||||
|
||||
* gdb.base/sigrepeat.exp: Fix reference to undefined variable.
|
||||
|
||||
2005-06-20 Nick Roberts <nickrob@snap.net.nz>
|
||||
|
||||
* gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
|
||||
|
@ -19,6 +19,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <signal.h>
|
||||
#include <sys/time.h>
|
||||
@ -73,6 +74,7 @@ handler (int sig)
|
||||
}
|
||||
} /* handler */
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
int i;
|
||||
|
@ -36,7 +36,7 @@ set testfile sigrepeat
|
||||
set srcfile ${testfile}.c
|
||||
set binfile ${objdir}/${subdir}/${testfile}
|
||||
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
|
||||
untested "Couldn't compile ${module}.c"
|
||||
untested "Couldn't compile ${srcfile}"
|
||||
return -1
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user