This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdbserver: Reset current_thread when its process is removed.
- From: Pedro Alves <palves at redhat dot com>
- To: Aleksandar Ristovski <aristovski at qnx dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Fri, 16 Oct 2015 15:04:12 +0100
- Subject: Re: [PATCH] gdbserver: Reset current_thread when its process is removed.
- Authentication-results: sourceware.org; auth=none
- References: <1444919808-22088-1-git-send-email-aristovski at qnx dot com> <561FD2B2 dot 6070509 at redhat dot com> <5620FE5F dot 4000006 at qnx dot com>
On 10/16/2015 02:40 PM, Aleksandar Ristovski wrote:
> +static int
> +thread_pid_matches_callback (struct inferior_list_entry *entry, void *args)
> +{
...
> +static struct thread_info *
> +find_thread_process (const struct process_info *const process)
> +{
OK with intro comments added.
Thanks,
Pedro Alves