title: How to see printf lines in gdb?
body: <p>While debugging my native code I wrote these lines:</p>
  
  <pre><code>m_sock = socket(m_iAf, m_iType, m_iProtocol);
  printf("errno = %d, %s\n", errno, strerror(errno));
  printf("Hellowrold\n");
  </code></pre>
  
  <p>I created a socket, but when i execute this line, it's returning negative.
  So I have to find the error. But the printing of neither errno nor Helloworld is shown on the console.</p>
  
  <p>How can I see the printed lines?</p>
  
  <p>I am new with ndk-gdb, so need help please.</p>
  
  <p>Thanks,
  Riasat</p>