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
55bcce46
Commit
55bcce46
authored
Sep 15, 2009
by
hjk
Browse files
debugger: prevent gdb from asking too many question for which we don't have answers
So far TRK does not show values for fp registers.
parent
22904c5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
55bcce46
...
...
@@ -2654,8 +2654,16 @@ void GdbEngine::handleStackListThreads(const GdbResultRecord &record, const QVar
void
GdbEngine
::
reloadRegisters
()
{
postCommand
(
_
(
"-data-list-register-values d"
),
Discardable
,
CB
(
handleRegisterListValues
));
if
(
m_gdbAdapter
->
isAdapter
())
{
// FIXME: remove that special case. This is only to prevent
// gdb from asking for the values of the fixed point registers
postCommand
(
_
(
"-data-list-register-values x 1 2 3 4 5 6 7 8 9 "
"10 11 12 13 14 15 25"
),
Discardable
,
CB
(
handleRegisterListValues
));
}
else
{
postCommand
(
_
(
"-data-list-register-values x"
),
Discardable
,
CB
(
handleRegisterListValues
));
}
}
void
GdbEngine
::
setRegisterValue
(
int
nr
,
const
QString
&
value
)
...
...
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