* gdb.base/completion.exp: Recognize the more detailed error
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / langs0.c
index 2790e2dc6738a0448198b61a993ffdcdd098f125..1477a324f91aa4597177245d6cfb5bf1935bed2a 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,6 +22,10 @@ langs0__2do ()
 int
 main ()
 {
+#ifdef usestubs
+  set_debug_traps();
+  breakpoint();
+#endif
   if (langs0__2do () == 5003)
     /* Success.  */
     return 0;
This page took 0.024064 seconds and 4 git commands to generate.