Add support for --start option in -exec-run GDB/MI command.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / langs0.c
index 69c0ce8b0fa605b9b6df95e17a50231c666e8598..cc6efdd1cc34282c08b4403eff565e6c6d968f50 100644 (file)
@@ -1,8 +1,14 @@
 /* This file is actually in C, it is not supposed to simulate something
    translated from another language or anything like that.  */
+#ifdef PROTOTYPES
+extern  int fsub_();
+
+int csub (int x)
+#else
 int
 csub (x)
      int x;
+#endif
 {
   return x + 1;
 }
@@ -16,10 +22,6 @@ langs0__2do ()
 int
 main ()
 {
-#ifdef usestubs
-  set_debug_traps();
-  breakpoint();
-#endif
   if (langs0__2do () == 5003)
     /* Success.  */
     return 0;
This page took 0.038493 seconds and 4 git commands to generate.