+2020-01-10 Pedro Alves <palves@redhat.com>
+
+ * corelow.c (core_target::has_execution): Change parameter type to
+ inferior pointer.
+ * inferior.c (number_of_live_inferiors): Use
+ inferior::has_execution instead of target_has_execution_1.
+ * inferior.h (inferior::has_execution): New.
+ * linux-thread-db.c (thread_db_target::update_thread_list): Use
+ inferior::has_execution instead of target_has_execution_1.
+ * process-stratum-target.c
+ (process_stratum_target::has_execution): Change parameter type to
+ inferior pointer. Check the inferior's PID instead of
+ inferior_ptid.
+ * process-stratum-target.h
+ (process_stratum_target::has_execution): Change parameter type to
+ inferior pointer.
+ * record-full.c (record_full_core_target::has_execution): Change
+ parameter type to inferior pointer.
+ * target.c (target_has_execution_1): Change parameter type to
+ inferior pointer.
+ (target_has_execution_current): Adjust.
+ * target.h (target_ops::has_execution): Change parameter type to
+ inferior pointer.
+ (target_has_execution_1): Change parameter type to inferior
+ pointer. Change return type to bool.
+ * tracefile.h (tracefile_target::has_execution): Change parameter
+ type to inferior pointer.
+
+2020-01-10 Pedro Alves <palves@redhat.com>
+
+ * exceptions.c (print_flush): Remove current_top_target() check.
+
+2020-01-10 Pedro Alves <palves@redhat.com>
+
+ * remote.c (show_remote_exec_file): Show the current inferior's
+ exec-file instead of the command variable's value.
+
+2020-01-10 Pedro Alves <palves@redhat.com>
+
+ * record-full.c (record_full_resume_ptid): New global.
+ (record_full_target::resume): Set it.
+ (record_full_wait_1): Use record_full_resume_ptid instead of
+ inferior_ptid.
+
+2020-01-10 Pedro Alves <palves@redhat.com>
+
+ * gdbthread.h (scoped_restore_current_thread)
+ <dont_restore, restore, m_dont_restore>: Declare.
+ * thread.c (thread_alive): Add assertion. Return bool.
+ (switch_to_thread_if_alive): New.
+ (prune_threads): Switch inferior/thread.
+ (print_thread_info_1): Switch thread before calling target methods.
+ (scoped_restore_current_thread::restore): New, factored out from
+ ...
+ (scoped_restore_current_thread::~scoped_restore_current_thread):
+ ... this.
+ (scoped_restore_current_thread::scoped_restore_current_thread):
+ Add assertion.
+ (thread_apply_all_command, thread_select): Use
+ switch_to_thread_if_alive.
+
2020-01-10 George Barrett <bob@bob131.so>
* stap-probe.c (stap_modify_semaphore): Don't check for null