This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "set inferior-tty" on MS-Windows


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. ?

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]