title: GDB no such file or directory
body: <p>I'm following these lessons from <a href="http://opensecuritytraining.info/IntroX86-64.html" rel="noreferrer">OpenSecurityTraining</a>.</p>
  
  <p>I've reached the lab part where I've to train myself on a CMU Bomb. They provide a x86_64 compiled CMU Bomb that you can find here to train on : <a href="http://opensecuritytraining.info/IntroX86-64_files/bomb-x64.zip" rel="noreferrer">CMU Bomb x86-64</a> originally from a 32-bit bomb from <a href="http://web.archive.org/web/20150219073026/http://csapp.cs.cmu.edu/public/1e/labs.html" rel="noreferrer">CMU Labs for
  Computer Systems: A Programmer's Perspective (CS:APP) 1st edition</a>.</p>
  
  <p>I had a virtualized 64 bits Elementary OS distribution where I disassembled the CMU Bomb without problems using GDB. Now, I've a 64 bits Ubuntu 14.04 LTS (not virtualized) and when I try to reproduce why I did on my Elementary OS, I get the famous error.</p>
  
  <p>I run these commands :</p>
  
  <pre><code>gdb ./bomb-x64
  (gdb) b main
  Breakpoint 1 at 0x400dbd: file bomb.c, line 37. -- why bomb.c ?
  (gdb) r
  ...
  bomb.c: no such file or directory
  </code></pre>
  
  <p><strong>Edit :</strong> I can create breakpoints on others functions of the CMU Bomb and it works as expected.<br/>
  Example :</p>
  
  <pre><code>(gdb) b phase_1
  Breakpoint 3 at 0x400f00
  (gdb) r
  
  Breakpoint 1, 0x0000000000400f00 in phase_1 ()
  (gdb) disas
  Dump of assembler code for function phase_1:
  =&gt; 0x0000000000400f00 &lt;+0&gt;: sub    $0x8,%rsp
     0x0000000000400f04 &lt;+4&gt;: mov    $0x4023b0,%esi
     0x0000000000400f09 &lt;+9&gt;: callq  0x401308 &lt;strings_not_equal&gt;
     0x0000000000400f0e &lt;+14&gt;:    test   %eax,%eax
     0x0000000000400f10 &lt;+16&gt;:    je     0x400f17 &lt;phase_1+23&gt;
     0x0000000000400f12 &lt;+18&gt;:    callq  0x40140a &lt;explode_bomb&gt;
     0x0000000000400f17 &lt;+23&gt;:    add    $0x8,%rsp
     0x0000000000400f1b &lt;+27&gt;:    retq   
  End of assembler dump.
  </code></pre>
  
  <p>I've heard of ia32-libs but this doesn't do anything more since I'm on 64bits Ubuntu and run a 64bits compiled CMU Bomb, am I wrong ?</p>