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
Tobias Hunger
qt-creator
Commits
d22438e9
Commit
d22438e9
authored
Oct 05, 2009
by
hjk
Browse files
debugger: add some debug output when disassembler view fails to retrieve the
base address
parent
5ab3be8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
d22438e9
...
...
@@ -3876,8 +3876,7 @@ void GdbEngine::fetchDisassemblerByAddress(DisassemblerViewAgent *agent,
QTC_ASSERT
(
agent
,
return
);
bool
ok
=
true
;
quint64
address
=
agent
->
address
().
toULongLong
(
&
ok
,
0
);
//qDebug() << "ADDRESS: " << agent->address() << address;
QTC_ASSERT
(
ok
,
return
);
QTC_ASSERT
(
ok
,
qDebug
()
<<
"ADDRESS: "
<<
agent
->
address
()
<<
address
;
return
);
QString
start
=
QString
::
number
(
address
-
20
,
16
);
QString
end
=
QString
::
number
(
address
+
100
,
16
);
// -data-disassemble [ -s start-addr -e end-addr ]
...
...
Write
Preview
Supports
Markdown
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