This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: "set inferior-tty" on MS-Windows
> Date: Tue, 28 Aug 2012 10:37:41 +0100
> From: Pedro Alves <palves@redhat.com>
> CC: gdb-patches@sourceware.org
>
> On 08/24/2012 07:18 PM, Eli Zaretskii wrote:
> >> Date: Fri, 24 Aug 2012 17:17:36 +0100
> >> From: Pedro Alves <palves@redhat.com>
> >> CC: gdb-patches@sourceware.org
> >>
> >> On 08/13/2012 06:40 PM, Eli Zaretskii wrote:
> >>> Is this setting supposed to work in the MinGW build of GDB while
> >>> debugging programs natively? I think not, but maybe people here have
> >>> tricks up their sleeves.
> >>
> >> windows-nat.c:windows_create_inferior handles it (look for
> >> inferior_io_terminal), so it's supposed to do _something_.
> >
> > Thanks. But what tty name can be given to that command so that the
> > result is as expected? There are no PTYs in native Windows.
> >
>
> Dunno. "git blame" pointed at:
>
> +2009-03-08 Oswald Buddenhagen <oswald.buddenhagen@trolltech.de>
> +
> + * windows-nat.c (windows_create_inferior): implement --tty handling on
> + non-cygwin.
>
> Submitted at:
>
> http://sourceware.org/ml/gdb-patches/2009-02/msg00487.html
>
> Maybe you can pass it "COM1", or "COM1:", etc. ?
Something like that, yes. Which means the command is useless for what
the gdb-mi front end provided by Emacs wants to use it, when it is run
on MS-Windows.
Thanks.