Support command-line redirection in native MS-Windows debugging
authorEli Zaretskii <eliz@gnu.org>
Sat, 29 Oct 2016 15:10:23 +0000 (18:10 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 29 Oct 2016 15:10:23 +0000 (18:10 +0300)
commit8ba42bc5da8015fd0bd9e7f021af9cb0ef252005
tree62b801a6ee50908e3ef8a014a747f4261f4d0dbc
parent39402e6c64121bdae146e82f6c48f0c0e0d9d26b
Support command-line redirection in native MS-Windows debugging

gdb/ChangeLog
2016-10-29  Eli Zaretskii  <eliz@gnu.org>

* NEWS: Mention support for redirection on MS-Windows.

* windows-nat.c (redir_open, redir_set_redirection)
(redirect_inferior_handles) [!__CYGWIN__]: New functions.
(windows_create_inferior) [!__CYGWIN__]: Use
'redirect_inferior_handles' to redirect standard handles of the
debuggee if the command line requests that.
gdb/ChangeLog
gdb/NEWS
gdb/windows-nat.c