Re: [PATCH 10/23] Some get_last_target_status tweaks

Tom Tromey
2019-09-09T18:53:15Z

>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro> - Declare nullify_last_target_wait_ptid in a header, and remove the
Pedro> local extern declaration from linux-fork.c.

Pedro> diff --git a/gdb/infrun.h b/gdb/infrun.h
Pedro> index 30374ee51c..042edbbb66 100644
Pedro> --- a/gdb/infrun.h
Pedro> +++ b/gdb/infrun.h
Pedro> @@ -107,6 +107,8 @@ extern void get_last_target_status (ptid_t *ptid,
Pedro> extern void set_last_target_status (ptid_t ptid,
Pedro> struct target_waitstatus status);

Pedro> +extern void nullify_last_target_wait_ptid ();

This could use an intro comment.

Tom