title: How to compile tight vnc with debug information enabled?
body: <p>I downloaded the tight vnc source code from its website. Now I am trying to use gdb on its executable. The debugger successfully adds breakpoints on functions but when I try to step through the function it says :</p>
  
  <blockquote>
    <p>Single Stepping until exit from function func, which has no line number information</p>
  </blockquote>
  
  <p>I think it is due to the fact that the compilation wasnt done with correct flags. I am trying to search the configuration files to understand how to enable it, but haven't been able to so far. I am not acquainted with Imakefiles etc. Maybe someone who has done this previously can help ?</p>
  
  <p>Using gnu GCC and GDB on an ubuntu machine</p>