Hirohito Higashi wrote:
> How to reproduce: > - Prepare ~/.gdbinit with the following contents. (Either one of them can be > reproduced) > winheight src 24 > focus cmd > - Change directory to your vim/src. > $ cd /path/to/vim/src > - Run Vim with some options. > $ vim --clean +"packadd termdebug" > - Start terminal-debugger Vim myself. > :Termdebug vim > > Expected behavior: > No errors. > > Actual behavior: > The following error occurs. > --------8<-------- > Error detected while processing function > <SNR>25_StartDebug[2]..<SNR>25_StartDeb > ug_internal[36]..<SNR>25_StartDebug_term: > line 83: > Cannot check if your gdb works, continuing anyway > -------->8-------- > > > Investigation result: > - Normally, "New UI allocated" is displayed on the line next to "new-ui mi", > but in this case it is displayed on the same line as "new-ui mi". > > I think that suppression of ~/.gdbinit execution by specifying the -n option > to gdb is not make sense. > How about with the attached patch? > I made a response check with the same line as the 'new-ui mi' and the next > line. Thanks for the proposed solution. It's a bit easier to concatenate the two lines and then check for a match once. It does almost the same thing. -- This sentence is not sure that it exists, but if it does, it will certainly consider the possibility that other sentences exist. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
