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
7ab3981b
Commit
7ab3981b
authored
Aug 18, 2009
by
hjk
Browse files
debugger: fix wrong access to the disassembler agent in the non-mixed case
parent
eb422394
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
7ab3981b
...
...
@@ -4131,12 +4131,12 @@ void GdbEngine::handleFetchDisassemblerByAddress0(const GdbResultRecord &record,
const
QVariant
&
cookie
)
{
bool
ok
=
true
;
Disassembler
View
Agent
*
agent
=
(
Disassembler
View
Agent
*
)
c
ookie
.
toULongLong
(
&
ok
);
QTC_ASSERT
(
agent
,
return
);
DisassemblerAgent
Cookie
ac
=
cookie
.
value
<
DisassemblerAgent
C
ookie
>
(
);
QTC_ASSERT
(
ac
.
agent
,
return
);
if
(
record
.
resultClass
==
GdbResultDone
)
{
GdbMi
lines
=
record
.
data
.
findChild
(
"asm_insns"
);
agent
->
setContents
(
parseDisassembler
(
lines
));
ac
.
agent
->
setContents
(
parseDisassembler
(
lines
));
}
}
...
...
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