summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2019-09-06 22:54:11 +0100
committerPedro Alves <palves@redhat.com>2019-09-06 23:31:05 +0100
commitf5725086fcb3cc9297d8682cc6ccb1f75a6a2516 (patch)
treec0d2fd5514ef3a80a3a230fa91f7eaa0c3ab8f1b /.gitattributes
parent7eb4eee40d56a2b0dc8aadbf52b12c9c17d12ef7 (diff)
downloadbinutils-gdb-f5725086fcb3cc9297d8682cc6ccb1f75a6a2516.tar.gz
Some get_last_target_status tweaks
- Make get_last_target_status arguments optional. A following patch will add another argument to get_last_target_status (the event's target), and passing nullptr when we don't care for some piece of info is handier than creating dummy local variables. - Declare nullify_last_target_wait_ptid in a header, and remove the local extern declaration from linux-fork.c. gdb/ChangeLog: yyyy-mm-dd 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 (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.
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions