This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Close gdbserver in mi_gdb_exit
On Thu, Sep 22, 2016 at 3:17 PM, Pedro Alves <palves@redhat.com> wrote:
>> + if { $is_mi } {
>> + set monitor_exit "-interpreter-exec console \"monitor exit\"\n"
>
> That "\n" at the end, is it stray or necessary?
>
It is not needed. Remove it and push the patch in.
>> + } else {
>> + set monitor_exit "monitor exit"
>> + }
>> + send_gdb "$monitor_exit\n";
>
> I ask because this here already includes a \n.
>
--
Yao (齐尧)