Re: [RFA 02/12] Remove cleanup from display_gdb_prompt

Pedro Alves
2017-09-28T21:56:42Z

Looks good, but ...

On 09/28/2017 08:50 PM, Tom Tromey wrote:

> /* Return the top level prompt, as specified by "set prompt", possibly
> @@ -428,7 +422,7 @@ display_gdb_prompt (const char *new_prompt)
> with the prompt prefix and suffix (annotations). The caller is
> responsible for freeing the returned string. */

... please remove that last sentence from the comment above.

>
> -static char *
> +static std::string
> top_level_prompt (void)
> {

Thanks,
Pedro Alves