gdb don't like input from pipe