Input redirection in gdb (MinGW)
As far back as the late ’90s, broken command line redirection was a known and assumed limitation. My suspicion is that it remains that way, since the mingw32 port of gdb still gleefully passes on verbatim all run arguments (including redirects) to the debugee. Several possible workarounds: if you have the option to alter the … Read more