daily update
[external/binutils.git] / gdb / testsuite / gdb.base / twice.c
index dd12c06..09eb2dd 100644 (file)
@@ -1,3 +1,4 @@
+#include <stdio.h>
 int nothing ()
 
 {
@@ -6,11 +7,15 @@ int nothing ()
 }
 
 
-main ()
+int main ()
 
 {
     int y ;
-    
+#ifdef usestubs
+    set_debug_traps();
+    breakpoint();
+#endif    
     y = nothing () ;
     printf ("hello\n") ;
+    return 0;
 }