[PATCH 10/23] Some get_last_target_status tweaks

Tom Tromey tom@tromey.com
Mon Sep 9 18:53:00 GMT 2019


>>>>> "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



More information about the Gdb-patches mailing list