[PATCH] gdb: Have allocate_target_description return a unique_ptr

Simon Marchi simark@simark.ca
Mon Oct 5 19:52:21 GMT 2020


On 2020-10-05 3:47 p.m., Andrew Burgess wrote:
> Below is a rebased version of a patch I posted here:
>
>   https://sourceware.org/pipermail/gdb-patches/2020-July/170639.html
>
> this recieved positive feedback at the time but was buried in some
> other thread so may not have been widely seen.  I thought it was
> probably worth reposting this before merging just to see if anyone
> else had any thoughts.
>
> There's a lot of change here, but all of the *.c files that are marked
> 'Regenerate' in the ChangeLog follow much the same pattern, review one
> of them and you've reviewed them all.
>
> Thanks,
> Andrew

You already have a +1 from me on this (I was the one who pushed you to
do it :)).

Simon


More information about the Gdb-patches mailing list