Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
1be173ef
Commit
1be173ef
authored
Apr 23, 2010
by
Robert Loehning
Browse files
gdbmacros: Escaping backslashes in filename
parent
e81e001f
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/gdbmacros/gdbmacros.py
View file @
1be173ef
...
...
@@ -456,7 +456,7 @@ def qdump__QImage(d, item):
else
:
# Write to an external file. Much faster ;-(
file
=
tempfile
.
mkstemp
(
prefix
=
"gdbpy_"
)
filename
=
file
[
1
]
filename
=
file
[
1
]
.
replace
(
"
\\
"
,
"
\\\\
"
)
p
=
bits
.
cast
(
gdb
.
lookup_type
(
"unsigned char"
).
pointer
())
gdb
.
execute
(
"dump binary memory %s %s %s"
%
(
filename
,
cleanAddress
(
p
),
cleanAddress
(
p
+
nbytes
)))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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