X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=541683f0bf1a4fa4aa663bd7f765d2ebac02affe;hb=873657b9e824943ae44c12966c29cbbcd21c986f;hp=0e5c8a952757e517e8689e42e07f5a501c9779f5;hpb=7f0ae84c80aae6fe8f7573343fe1ab455d18b5d8;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0e5c8a9527..541683f0bf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,20 @@ +2020-01-10 Pedro Alves + + * gdbthread.h (scoped_restore_current_thread) + : 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 * stap-probe.c (stap_modify_semaphore): Don't check for null