aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.threads/tls-so_extern_main.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 855ceaa..ecac8bb 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2020-11-12 Gary Benson <gbenson@redhat.com>
+
+ * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
+ statement.
+
2020-11-11 Simon Marchi <simon.marchi@efficios.com>
* gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
diff --git a/gdb/testsuite/gdb.threads/tls-so_extern_main.c b/gdb/testsuite/gdb.threads/tls-so_extern_main.c
index c326451..8ad857c 100644
--- a/gdb/testsuite/gdb.threads/tls-so_extern_main.c
+++ b/gdb/testsuite/gdb.threads/tls-so_extern_main.c
@@ -25,6 +25,8 @@ tls_ptr (void *p)
{
so_extern = &so_extern;
so_extern2 = &so_extern2; /* break here to check result */
+
+ return NULL;
}
int