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: [patch] [python] gdb.Inferior reference count fixes


Kevin Pouget <kevin.pouget@gmail.com> writes:

> Hi Phil,
>
> thanks for your offer to split the patch this way, I hope that the FSF
> paperwork won't take too long so that we can apply these patches

Hope so too! This patch does not have a dependency on your patch so
(pending approval) it could go in now.


> just one thing:
>
> + thread_object *found = NULL;
> ...
> +  if (found)
> +    return found;
>   return NULL;
>
> the last lines are equivalent to: return found; is it on purpose (ie,
> for readability) ?

I think this was a rewrite  and I missed that hunk.  It is correct, if
redundant.  Thanks for spotting it.  I'll alter it locally.

Cheers

Phil


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