Clang defaults this warning to an error, breaking the build & causing
these tests not to run.
gdb/testsuite/
* gdb.mi/non-stop.c: Add return value for non-void function return
statement.
* gdb.threads/staticthreads.c: Ditto.
+2014-04-14 David Blaikie <dblaikie@gmail.com>
+
+ * gdb.mi/non-stop.c: Add return value for non-void function return
+ statement.
+ * gdb.threads/staticthreads.c: Ditto.
+
2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
Doug Evans <xdje42@gmail.com>
unslept = sleep (unslept);
if (exit_first_thread && id == 0)
- return;
+ return NULL;
break_at_me (id, i);
}
if (errno != EINTR)
{
perror ("thread_function");
- return;
+ return NULL;
}
}
return NULL;