This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 2/8] Use counted_command_line everywhere
>>>>> "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