[gdb] Use partial symbol table to find language for main
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.threads / tls-core.c
index 6089ba116ea304d2b87cd24f7655373f43e88595..8cf59f47d1226debb27605bd129a4231cdf51903 100644 (file)
@@ -1,6 +1,6 @@
 /* This test is part of GDB, the GNU debugger.
 
-   Copyright 2017-2018 Free Software Foundation, Inc.
+   Copyright 2017-2020 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include <pthread.h>
+#include <stdlib.h>
 
 int __thread foo = 0xdeadbeef;
 
 static void *
 thread_proc (void *arg)
 {
+  abort ();
   return arg;
 }
 
This page took 0.024291 seconds and 4 git commands to generate.