Some get_last_target_status tweaks
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index a733f0dfa01aafcdd9b1954e1b6f35d7e5247e6e..2d18e3e4399aa6b49a80a3eae82664b420a2f804 100644 (file)
@@ -1,3 +1,27 @@
+2020-01-10  Pedro Alves  <palves@redhat.com>
+
+       * break-catch-sig.c (signal_catchpoint_print_it): Don't pass a
+       ptid to get_last_target_status.
+       * break-catch-syscall.c (print_it_catch_syscall): Don't pass a
+       ptid to get_last_target_status.
+       * infcmd.c (continue_command): Don't pass a target_waitstatus to
+       get_last_target_status.
+       (info_program_command): Don't pass a target_waitstatus to
+       get_last_target_status.
+       * infrun.c (init_wait_for_inferior): Use
+       nullify_last_target_wait_ptid.
+       (get_last_target_status): Handle nullptr arguments.
+       (nullify_last_target_wait_ptid): Clear target_last_waitstatus.
+       (print_stop_event): Don't pass a ptid to get_last_target_status.
+       (normal_stop): Don't pass a ptid to get_last_target_status.
+       * infrun.h (get_last_target_status, set_last_target_status): Move
+       comments here and update.
+       (nullify_last_target_wait_ptid): Declare.
+       * linux-fork.c (fork_load_infrun_state): Remove local extern
+       declaration of nullify_last_target_wait_ptid.
+       * linux-nat.c (get_detach_signal): Don't pass a target_waitstatus
+       to get_last_target_status.
+
 2020-01-10  Pedro Alves  <palves@redhat.com>
 
        * gdbthread.h (scoped_restore_current_thread)
This page took 0.025171 seconds and 4 git commands to generate.