[RFA 1/2] Change target_read_string to use unique_xmalloc_ptr

Simon Marchi simon.marchi@polymtl.ca
Fri Mar 30 05:28:00 GMT 2018


On 2018-03-28 00:24, Tom Tromey wrote:
> This changes the out parameter of target_read_string to be a
> unique_xmalloc_ptr.  This avoids a cleanup and sets the stage for more
> cleanup removals.
> 
> This patch also removes a seemingly needless alloca from
> print_subexp_standard.

That looks fine to me.

Simon



More information about the Gdb-patches mailing list