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
945c2119
Commit
945c2119
authored
Feb 01, 2010
by
hjk
Browse files
debugger: fall back to raw disassembly if mixed display fails due to
"unreadable" memory
parent
ecd475c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
945c2119
...
...
@@ -3583,7 +3583,8 @@ void GdbEngine::handleFetchDisassemblerByLine(const GdbResponse &response)
}
else
{
// 536^error,msg="mi_cmd_disassemble: Invalid line number"
QByteArray
msg
=
response
.
data
.
findChild
(
"msg"
).
data
();
if
(
msg
==
"mi_cmd_disassemble: Invalid line number"
)
if
(
msg
==
"mi_cmd_disassemble: Invalid line number"
||
msg
.
startsWith
(
"Cannot access memory at address"
))
fetchDisassemblerByAddress
(
ac
.
agent
,
true
);
else
showStatusMessage
(
tr
(
"Disassembler failed: %1"
).
arg
(
QString
::
fromLocal8Bit
(
msg
)),
5000
);
...
...
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