Fix "Remote 'g' packet reply is too long" problems with multiple inferiors
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.multi / hangout.c
index 44dfba6893711f4c50b56ed0bfd62868c11ca90b..7266a188f859a711b8d8805afefa9a5a9c56c7ec 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include <stdio.h>
+#include <unistd.h>
+
+static void
+hangout_loop (void)
+{
+}
 
 int
 main(int argc, char *argv[])
 {
   int i;
 
+  alarm (30);
+
   for (i = 0; i < argc; ++i)
     {
       printf("Arg %d is %s\n", i, argv[i]);
     }
+
+  while (1)
+    {
+      hangout_loop ();
+      usleep (20);
+    }
 }
This page took 0.025656 seconds and 4 git commands to generate.