[1/1] testsuite, threads: add missing return statements
Checks
Context |
Check |
Description |
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 |
success
|
Build passed
|
linaro-tcwg-bot/tcwg_gdb_build--master-arm |
success
|
Build passed
|
linaro-tcwg-bot/tcwg_gdb_check--master-arm |
success
|
Test passed
|
linaro-tcwg-bot/tcwg_gdb_check--master-aarch64 |
success
|
Test passed
|
Commit Message
From: "Rohr, Stephan" <stephan.rohr@intel.com>
Add missing return statements in
gdb.threads/process-exit-status-is-leader-exit-status.c
and
gdb.threads/next-fork-exec-other-thread.c
---
gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c | 4 ++++
.../gdb.threads/process-exit-status-is-leader-exit-status.c | 1 +
2 files changed, 5 insertions(+)
@@ -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
@@ -43,6 +43,7 @@ start (void *arg)
int thread_return_value = *(int *) arg;
do_exit (thread_return_value);
+ return NULL;
}
int