title: GDB doesn't find sources
body: <p>I start gdb using this (working dir is /home/leon/Develop/tests/atomic/):</p>
  
  <pre><code> gdb ./bin/lin64/httpress
  </code></pre>
  
  <p>Then I add directories with source files, and it understands me:</p>
  
  <pre><code>Source directories searched: /home/leon/Develop/tests/atomic/third/http_parser:/home/leon/Develop/tests/atomic/src/tools:$cdir:$cwd
  </code></pre>
  
  <p>When I run my binary, gdb doesn't recognize the line in my source code, where segfault happened.
  How to set source files for gdb?</p>
  
  <p>The program is compiled by gcc:</p>
  
  <pre><code>gcc -D_AMD64_ -D_LIN_ -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -m64 -march=core2 -O2   -Wall -I. -I src/include -I src/lib/zlib/ -I src/lib/otg -I third/openssl/include/ -I src/lib/otg/Tools/HostTime/Interfaces/ -I src/lib/otg/Tools/OpenToolsGate/Guest/Interfaces/ -I src/lib/otg/Tools/OpenToolsGate/Guest/Cross -I src/lib/otg/Tools/OpenToolsGate/Common/Interfaces/ -o bin/lin64/httpress -std=c99  -lpthread -lev -lgnutls -O2 -s -DWITH_SSL -Wno-strict-aliasing \
          -I /usr/include/libev src/tools/httpress.c -I third/http_parser/ third/http_parser/http_parser.c
  </code></pre>
  
  <hr>
  
  <p>Ok, I've made some changes:</p>
  
  <pre><code>gcc -g -ggdb -D_AMD64_ -D_LIN_ -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -m64 -march=core2 -Wall -I. -I src/include -I src/lib/zlib/ -I src/lib/otg -I third/openssl/include/ -I src/lib/otg/Tools/HostTime/Interfaces/ -I src/lib/otg/Tools/OpenToolsGate/Guest/Interfaces/ -I src/lib/otg/Tools/OpenToolsGate/Guest/Cross -I src/lib/otg/Tools/OpenToolsGate/Common/Interfaces/ -o bin/lin64/httpress -std=c99  -lpthread -lev -lgnutls -s -DWITH_SSL -Wno-strict-aliasing \
          -I /usr/include/libev src/tools/httpress.c -I third/http_parser/ third/http_parser/http_parser.c
  </code></pre>
  
  <p>In this case it still can't find symbols in the binary.
  But if I remove -s option from gcc call. It writes:</p>
  
  <pre><code>Reading symbols from /home/leon/Develop/tests/atomic/bin/lin64/httpress...done.
  </code></pre>
  
  <p>But the debugger still says this:</p>
  
  <pre><code>(gdb) info source
  No current source file.
  </code></pre>
  
  <p>...after I point him directories with sources.</p>