title: gdb create a Stream
body: <p>i have a program, which get the information from the stream and use cin to read and later convert the input.</p>
  
  <p>This is the calling of the program:</p>
  
  <pre><code>cat file1 | ./converter
  </code></pre>
  
  <p>in C++ it is this line</p>
  
  <pre><code>while ( ! cin.eof( ) )
  </code></pre>
  
  <p>which reads from the stream.</p>
  
  <p>Is it possible to simulate the pipeline in gdb? 
  Because i can not debug the source without it.</p>