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
Marco Bubke
flatpak-qt-creator
Commits
362628b9
Commit
362628b9
authored
Apr 09, 2010
by
hjk
Browse files
debugger: fix cli disassembler command for an address range
parent
9b2d741d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
362628b9
...
...
@@ -3813,7 +3813,7 @@ void GdbEngine::fetchDisassemblerByAddressCli(DisassemblerViewAgent *agent)
quint64
address
=
agent
->
address
().
toULongLong
(
&
ok
,
0
);
QByteArray
start
=
QByteArray
::
number
(
address
-
20
,
16
);
QByteArray
end
=
QByteArray
::
number
(
address
+
100
,
16
);
QByteArray
cmd
=
"disassemble 0x"
+
start
+
"
0x"
+
end
;
QByteArray
cmd
=
"disassemble 0x"
+
start
+
"
,
0x"
+
end
;
postCommand
(
cmd
,
Discardable
,
CB
(
handleFetchDisassemblerByCli
),
QVariant
::
fromValue
(
DisassemblerAgentCookie
(
agent
)));
}
...
...
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