Re: [RFA 2/8] Use counted_command_line everywhere

Tom Tromey
2018-04-24T23:18:59Z

>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

>> + gdb::unique_xmalloc_ptr<char> default_collect_line
>> + (xstrprintf ("collect %s", default_collect));

Pedro> string_printf ?

Actually, a few lines later:

>> + actions.reset (new struct command_line (simple_control,
>> + default_collect_line.release ()),

So this couldn't use string_printf without additional work.

Tom