This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Allow resetting an empty inferior-tty
On 08/24/2016 04:36 PM, Simon Marchi wrote:
> On 16-08-24 11:33 AM, Pedro Alves wrote:
>>> /* Add the filename of the terminal connected to inferior I/O. */
>>> - add_setshow_filename_cmd ("inferior-tty", class_run,
>>> - &inferior_io_terminal_scratch, _("\
>>> + add_setshow_optional_filename_cmd ("inferior-tty", class_run,
>>> + &inferior_io_terminal_scratch, _("\
>>> Set terminal for future runs of program being debugged."), _("\
>>> Show terminal for future runs of program being debugged."), _("\
>>> Usage: set inferior-tty /dev/pts/1"),
>>
>> Should we update the online help too?
>
> The online help is generated from the doc, which I updated, so it should
> be ok, no? Unless you are talking about something else?
>
Something else. :-)
I meant "(gdb) help set inferior-tty", the bit quoted above.
Thanks,
Pedro Alves