Don't check target is running in remote_target::mourn_inferior
[deliverable/binutils-gdb.git] / gdb / linux-thread-db.c
index b7c4f245b95ff6672137a8e170216b63e357860a..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.
 
@@ -116,7 +116,7 @@ static char *libthread_db_search_path;
 static bool auto_load_thread_db = true;
 
 /* Set to true if load-time libthread_db tests have been enabled
-   by the "maintenence set check-libthread-db" command.  */
+   by the "maintenance set check-libthread-db" command.  */
 static bool check_thread_db_on_load = false;
 
 /* "show" command for the auto_load_thread_db configuration variable.  */
@@ -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.023499 seconds and 4 git commands to generate.