aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c4
-rw-r--r--gdb/testsuite/gdb.threads/process-exit-status-is-leader-exit-status.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c b/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c
index 0645b55..7694a89 100644
--- a/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c
+++ b/gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c
@@ -50,6 +50,8 @@ worker_a (void *pArg)
waitpid (pid, NULL, 0);
usleep (5);
}
+
+ return NULL;
}
static void*
@@ -61,6 +63,8 @@ worker_b (void *pArg)
usleep (5); /* break here */
usleep (5); /* other line */
}
+
+ return NULL;
}
int
diff --git a/gdb/testsuite/gdb.threads/process-exit-status-is-leader-exit-status.c b/gdb/testsuite/gdb.threads/process-exit-status-is-leader-exit-status.c
index 3fed562..bd998f9 100644
--- a/gdb/testsuite/gdb.threads/process-exit-status-is-leader-exit-status.c
+++ b/gdb/testsuite/gdb.threads/process-exit-status-is-leader-exit-status.c
@@ -43,6 +43,7 @@ start (void *arg)
int thread_return_value = *(int *) arg;
do_exit (thread_return_value);
+ return NULL;
}
int