Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jun 27, 2016

Conversation

b4n
Copy link
Member

@b4n b4n commented Jun 20, 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.

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 geany#416.
@b4n b4n added this to the 1.28.0 milestone Jun 20, 2016
@b4n b4n merged commit 1640a8c into geany:master Jun 27, 2016
b4n added a commit that referenced this pull request Jun 27, 2016
debugger: Fix escaping target executable path if it contains non-ASCII
@b4n b4n self-assigned this Jun 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant