<p>GDB doesn't like octal escape sequences in executable path passed to<br>
<code>-file-exec-and-symbols</code>, yet it accepts them (but doesn't require<br>
them) in arguments to <code>-break-insert</code>.</p>

<p>So, use an escaping valid everywhere, as for the moment it's unclear<br>
whether there is any benefit to escaping special bytes in argument to<br>
<code>-break-insert</code>, and so consistency is better.</p>

<p>Fixes <a href="https://github.com/geany/geany-plugins/issues/416" class="issue-link js-issue-link" data-url="https://github.com/geany/geany-plugins/issues/416" data-id="142182666" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#416</a>.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany-plugins/pull/451'>https://github.com/geany/geany-plugins/pull/451</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>debugger: Fix escaping target executable path if it contains non-ASCII</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/451/files#diff-0">debugger/src/dbm_gdb.c</a>
    (38)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany-plugins/pull/451.patch'>https://github.com/geany/geany-plugins/pull/451.patch</a></li>
  <li><a href='https://github.com/geany/geany-plugins/pull/451.diff'>https://github.com/geany/geany-plugins/pull/451.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/pull/451">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/ABDrJ_w4LZ5Diwgoa1EQEZmhGy2FPp1Qks5qNvJggaJpZM4I6Ec0">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJzt8FUCar5Ha4287o8RCIsbWp9c_ks5qNvJggaJpZM4I6Ec0.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-plugins/pull/451"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>