title: Debugging Issue on Assemble Code by using GDB
body: <p>I tried to use gdb to debug the Assemble code but got error message,it said:</p>
  
  <pre><code>(gdb) run Starting program: /root/assembler_program/bsawp.o
  /bin/bash: /root/assembler_program/bsawp.o: cannot execute binary file
  </code></pre>
  
  <p>The code:</p>
  
  <pre><code>.section .text
  .globl _start
  _start:
  nop
  movl 0x12345678 ,  %ebx
  bswap %ebx    
  movl $1 , %eax
  int $0x80
  </code></pre>
  
  <p>Then I use gdb :</p>
  
  <pre><code>(gdb) break *_start+1
  Breakpoint 1 at 0x400079
  (gdb) run
  Starting program: /root/assembler_program/bsawp
  
  Breakpoint 1, 0x0000000000400079 in _start ()
  (gdb) step
  Single stepping until exit from function _start,
  which has no line number information.
  
  Program received signal SIGSEGV, Segmentation fault.
  0x0000000000400079 in _start ()
  </code></pre>
  
  <p>Could you please provide any hint and suggestion?</p>
  
  <p>Thanks!
  Best regards</p>