<blockquote>
<p>I am trying, successfully to debug it through gdb:<br>
gcc -g test.c -lds</p>
</blockquote>

<p>This is not a GDB command, but a GCC one, building a file named test.c, adding debugging info and linking <code>libds</code>.</p>

<p>Running under GDB would look like</p>

<div class="highlight highlight-text-shell-session"><pre>$ <span class="pl-s1">gdb a.out</span>
<span class="pl-mo">...</span>
<span class="pl-mo">(gdb) run</span>
<span class="pl-mo">...</span></pre></div>

<p>BTW, note that Geany doesn't have any builtin debugger, but three plugins: <em>debugger</em>, <em>scope</em> and <em>geanygdb</em>, so it's unlikely to be a Geany issue.<br>
And code 127 usually means "program not found", so maybe you just don't have GDB installed?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/issues/837#issuecomment-166317703">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJz3NmDkvrwPxDcfQlX0K1tgyMnjbks5pSARlgaJpZM4G5Iq-.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/837#issuecomment-166317703"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>