Don't rely on inferior_ptid in record_full_wait
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 4c789119cec5576c54f3d3123d6cccbe6e6a7f7e..dba48a52aeaa0ce9d345fe57c4de39e5b345170e 100644 (file)
@@ -1,3 +1,40 @@
+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
+       semaphores.
+       (stap_probe::set_semaphore, stap_probe::clear_semaphore): Check
+       for null semaphores.
+
+2020-01-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * tui/tui-source.c (tui_source_window::do_scroll_vertical): Update
+       all source windows, and maintain horizontal scroll status while
+       doing so.
+
 2020-01-09  Tom Tromey  <tom@tromey.com>
 
        PR tui/18932:
This page took 0.024266 seconds and 4 git commands to generate.