Re: Support of gdb for Windows 64 native systems

Eli Zaretskii
2007-10-18T04:06:49Z

> Date: Wed, 17 Oct 2007 22:59:47 +0100
> From: Pedro Alves <pedro_alves@portugalmail.pt>
> CC: Ulrich Weigand <uweigand@de.ibm.com>, Eli Zaretskii <eliz@gnu.org>,
> gdb-patches@sourceware.org
>
> There's these 'HANDLE hStdInput, hStdOutput, hStdError' in
> STARTUPINFO which may be passed into the CreateProcess call to
> redirect io. Yet another way is to use GetStdHandle/SetStdHandle
> much like one uses dup2 on unix. In both these alternatives
> we'll have to do args processing (<,>, etc) ourselves.

I agree that we should do it by redirecting handles directly, not
through the shell.

> But, is this considered a basic feature? I seldom use it myself.
> I don't think it is a show stopper.

I don't think it's a show-stopper, just a (temporary) lack of feature.
For example, the DJGPP port was part of GDB for years before
redirection support was added.