[RFA] Remove save_inferior_ptid
Pedro Alves
palves@redhat.com
Fri Aug 18 10:28:00 GMT 2017
On 08/18/2017 03:23 AM, Tom Tromey wrote:
>>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
>
> Pedro> Did you try that? Patch #1 below runs regression free here. How about
> Pedro> putting that in first, avoiding reindenting the big block around twice?
>
> I didn't think of it, but I ran this through the buildbot and it seems fine.
>
> Pedro> That leaves linux_get_siginfo_data. Since this is a local
> Pedro> static function, it's easy to pass the thread as argument, pushing
> Pedro> the inferior_ptid switching further down. See attached patch #2.
> Pedro> WDYT?
>
> Good idea.
>
> Here's the new patch.
LGTM.
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list