[PATCH 03/28] Refactor delete_program_space as a destructor

Simon Marchi simark@simark.ca
Wed Apr 15 15:54:17 GMT 2020


On 2020-04-14 1:54 p.m., Pedro Alves via Gdb-patches wrote:
> +/* Adds a new empty program space to the program space list, and binds
> +   it to ASPACE.  Returns the pointer to the new object.  */

You could take the opportunity to update this comment.  At least, the "Return the pointer"
part is not really relevant for a constructor.

Otherwise, this LGTM.

Simon


More information about the Gdb-patches mailing list