main to avoid warnings.
* gdb.base/sigrepeat.exp: Fix reference to undefined variable.
+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
*/
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include <sys/time.h>
}
} /* handler */
+int
main ()
{
int i;
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
}