This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix usage of inferior_ptid in two thread_alive implementations
- From: Pedro Alves <palves at redhat dot com>
- To: Simon Marchi <simon dot marchi at ericsson dot com>, gdb-patches at sourceware dot org
- Date: Wed, 8 Feb 2017 12:40:39 +0000
- Subject: Re: [PATCH] Fix usage of inferior_ptid in two thread_alive implementations
- Authentication-results: sourceware.org; auth=none
- References: <20170207212450.2232-1-simon.marchi@ericsson.com>
On 02/07/2017 09:24 PM, Simon Marchi wrote:
> While inspecting some target code, I noticed that in these two
> implementations of thread_alive, inferior_ptid is referenced directly
> instead of using the ptid passed as parameters. I guess that it is
> wrong, although I can't really test it in both cases.
I can't test either, but it looks right to me.
Thanks,
Pedro Alves