Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
KDevelop
KDevelop
Commits
31f95678
Commit
31f95678
authored
Dec 29, 2012
by
Niko Sams
Browse files
send command as utf8, as the communication charset is utf8
fixes non-ascii file paths.
BUG: 294004
parent
d2a57c4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
debuggers/gdb/gdb.cpp
View file @
31f95678
...
...
@@ -134,8 +134,9 @@ void GDB::execute(GDBCommand* command)
isRunning_
=
false
;
receivedReply_
=
false
;
process_
->
write
(
commandText
.
toLatin1
(),
commandText
.
length
());
QByteArray
commandUtf8
=
commandText
.
toUtf8
();
process_
->
write
(
commandUtf8
,
commandUtf8
.
length
());
QString
prettyCmd
=
currentCmd_
->
cmdToSend
();
prettyCmd
.
remove
(
QRegExp
(
"set prompt
\032
.
\n
"
)
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment