tfile_target::close: trace_fd can't be -1
[deliverable/binutils-gdb.git] / gdb / linux-thread-db.c
index 9b1a3a5c24566ec3196753d90dedd78245400158..62908896cc61b10c37ef5ff0cf6f3a73987d63a2 100644 (file)
@@ -1,6 +1,6 @@
 /* libthread_db assisted debugging support, generic parts.
 
-   Copyright (C) 1999-2019 Free Software Foundation, Inc.
+   Copyright (C) 1999-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -1622,7 +1622,7 @@ thread_db_target::update_thread_list ()
         stop.  That uses thread_db entry points that do not walk
         libpthread's thread list, so should be safe, as well as more
         efficient.  */
-      if (target_has_execution_1 (thread->ptid))
+      if (thread->inf->has_execution ())
        continue;
 
       thread_db_find_new_threads_1 (thread);
This page took 0.026299 seconds and 4 git commands to generate.