This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Remove save_inferior_ptid


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]