[PATCH] H8/300: sim: testsuite: Use the correct file descriptor for stdout.

Jan Dubiec jdx@o2.pl
Sat Aug 22 10:54:20 GMT 2026


On 22.08.2026 11:27, Alan Modra wrote:
> On Sat, Aug 22, 2026 at 05:02:39AM +0200, Jan Dubiec wrote:
>> This is obviously a typo, because the file descriptor for stdout is 1 on
>> both Linux and Windows. As a result, the test cases returned nothing
>> on Windows, i.e. neither "pass" nor "fail". Which, BTW, raises the
>> question of why 0 works on Linux. For over 20 years...
> 
> sim belongs to the gdb project, not binutils.
> 
Thanks for pointing that out. The patch has already been posted to the 
correct list: 
https://sourceware.org/pipermail/gdb-patches/2026-August/229687.html.

/J.D.



More information about the Binutils mailing list