Not in executable format: File format not recognized GDB
<p>I'm tried to debug my binary file (called click) with gdb.  </p>

<p>When I run   </p>

<pre><code>gdb ./click 
</code></pre>

<p>I have the following error  </p>

<pre><code>GNU gdb (Ubuntu 7.10-1ubuntu2) 7.10
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later &lt;http://gnu.org/licenses/gpl.html&gt;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
&lt;http://www.gnu.org/software/gdb/bugs/&gt;.
Find the GDB manual and other documentation resources online at:
&lt;http://www.gnu.org/software/gdb/documentation/&gt;.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
"/home/student/Desktop/./click": not in executable format: File format not recognized 
</code></pre>

<p>The outupt of:</p>

<pre><code>uname -a
</code></pre>

<p>is</p>

<pre><code>Linux student 4.2.0-36-lowlatency #42-Ubuntu SMP PREEMPT Thu May 12 23:39:42 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
</code></pre>

<p>And if I run </p>

<pre><code>file click  
</code></pre>

<p>I get this output:  </p>

<pre><code>click: ERROR: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2 error reading (Invalid argument)  
</code></pre>

<p>Any ideas?</p>