This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2 25/25] Add command to list UIs
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 6 May 2016 12:49:41 +0100
- Subject: Re: [PATCH v2 25/25] Add command to list UIs
- Authentication-results: sourceware.org; auth=none
- References: <1458573675-15478-1-git-send-email-palves at redhat dot com> <1458573675-15478-26-git-send-email-palves at redhat dot com> <86bn66vly0 dot fsf at gmail dot com>
On 03/22/2016 10:36 AM, Yao Qi wrote:
> Pedro Alves <palves@redhat.com> writes:
>
>> @@ -368,6 +368,7 @@ new_ui_command (char *args, int from_tty)
>>
>> initialize_stdin_serial (ui);
>> ui->async = 1;
>> + ui->tty_name = xstrdup (tty_name);
>
> xfree (ui->tty_name) in free_ui?
Indeed, thanks.
I'm still not sure whether this command's output format is the one
we need, and this was mostly a convenience for developing the series,
so I'm dropping it from the series in v3, and will get back to it
afterwards.
Thanks,
Pedro Alves