title: gdb + nasm debug info not being created
body: <p>I am trying to debug a small .asm file that I wrote in Ubuntu.  I am however running into an issue where my symbol table is not being loaded and was looking for some help.</p>
  
  <p>I am compiling my program as follows.</p>
  
  <pre><code>nasm -f elf -g -F dwarf bs.asm
  gcc -m32 -g bs.o -o bs
  </code></pre>
  
  <p>which produces the executable bs when I run</p>
  
  <pre><code>gdb bs 
  </code></pre>
  
  <p>I get a message that says no debugging symbols and when I try to set a break point by</p>
  
  <pre><code>b main 
  </code></pre>
  
  <p>it says function not defined even though its in the file and I can run it using ./bs </p>
  
  <p>I read a couple posts that suggested adding the -F dwarf when assembling but that didn't help if anyone has any insight I would greatly appreciated your input.</p>