title: gdb -- No source file named <something> - intel compiler
body: <p>I am calling fortran 90 code from a c code. There is a <code>main()</code> (in c) that calls a wrapper function in the same file, that calls a fortran subroutine (actually in a liblibrary.a). I am working on linux. Now, I'm using <code>gdb</code> to debug the executable, but it cannot find the main.c file. I added the working directory using</p>
  
  <pre><code>directory /my/working/directory
  </code></pre>
  
  <p>but still it says there is no file named main.c<br>
  If I type <code>list</code> inside <code>gdb</code> it shows me a piece of fortran code. If I type <code>show language</code>, it says The current source language is <code>auto; currently c</code>.<br>
  If I run the executable and then I interrupt it and look to the stack it will show me the c-functions I am calling, but it will not state the source file, that instead will state for the fortran subroutine and function.<br>
  I am trying to investigate if I am passing the variables correctly from c to fortran and backwards, I suspect I am not.</p>
  
  <p>The same thing happens in <code>idb</code>, more or less. when I try to put a break in main.c, it says <code>not found</code>. I compiled the fortran code with these flags:</p>
  
  <pre><code>-g -O0 -check bounds -warn all -traceback -align all -align rec8byte
  </code></pre>
  
  <p>and the c-code with:</p>
  
  <pre><code>-g -O0  -Wall
  </code></pre>
  
  <p>All suggestions are welcome.</p>