[Github-comments] [geany/geany-plugins] debugger: Fix escaping target executable path if it contains non-ASCII (#451)

Colomban Wendling notifications at xxxxx
Mon Jun 20 20:04:48 UTC 2016


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

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

Fixes #416.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany-plugins/pull/451

-- Commit Summary --

  * debugger: Fix escaping target executable path if it contains non-ASCII

-- File Changes --

    M debugger/src/dbm_gdb.c (38)

-- Patch Links --

https://github.com/geany/geany-plugins/pull/451.patch
https://github.com/geany/geany-plugins/pull/451.diff

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/451
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160620/cc65f3b4/attachment.html>


More information about the Github-comments mailing list