This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/7] Pass ptid to target_ops register methods
- 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 Mar 2017 23:31:02 +0000
- Subject: Re: [PATCH 0/7] Pass ptid to target_ops register methods
- Authentication-results: sourceware.org; auth=none
- References: <20170308164140.7281-1-simon.marchi@ericsson.com>
A question that I think needs answering is:
A regcache stores the ptid it is connected to as a field.
We rely on it for get_thread_regcache for example.
So, couldn't we instead just use that ptid?
Thanks,
Pedro Alves