/* 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.
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. */
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);