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
Tobias Hunger
qt-creator
Commits
53f692c5
Commit
53f692c5
authored
Oct 01, 2009
by
hjk
Browse files
debugger: parse 'at' field in -break-info output as seen with gdb 6.4
parent
569d279a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
53f692c5
...
...
@@ -1762,8 +1762,7 @@ void GdbEngine::breakpointDataFromOutput(BreakpointData *data, const GdbMi &bkpt
data
->
condition
=
data
->
bpCondition
;
}
else
if
(
child
.
hasName
(
"enabled"
))
{
data
->
bpEnabled
=
(
child
.
data
()
==
"y"
);
}
else
if
(
child
.
hasName
(
"pending"
))
{
}
else
if
(
child
.
hasName
(
"pending"
))
{
data
->
pending
=
true
;
int
pos
=
child
.
data
().
lastIndexOf
(
':'
);
if
(
pos
>
0
)
{
...
...
@@ -1776,6 +1775,12 @@ void GdbEngine::breakpointDataFromOutput(BreakpointData *data, const GdbMi &bkpt
}
else
{
files
.
prepend
(
QString
::
fromLocal8Bit
(
child
.
data
()));
}
}
else
if
(
child
.
hasName
(
"at"
))
{
// Happens with (e.g.?) gdb 6.4 symbianelf
QByteArray
ba
=
child
.
data
();
if
(
ba
.
startsWith
(
'<'
)
&&
ba
.
endsWith
(
'>'
))
ba
=
ba
.
mid
(
1
,
ba
.
size
()
-
2
);
data
->
bpFuncName
=
_
(
ba
);
}
}
// This field is not present. Contents needs to be parsed from
...
...
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