Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
0bf506b7
Commit
0bf506b7
authored
Mar 26, 2010
by
hjk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugger: take advantage of Apple gdb's resolve-pending-breakpoint messages
parent
0dfa97f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
src/plugins/debugger/gdb/gdbengine.cpp
src/plugins/debugger/gdb/gdbengine.cpp
+12
-0
No files found.
src/plugins/debugger/gdb/gdbengine.cpp
View file @
0bf506b7
...
...
@@ -476,6 +476,18 @@ void GdbEngine::handleResponse(const QByteArray &buff)
// description="/usr/lib/system/libmathCommon.A_debug.dylib",
// loaded_addr="0x7f000", slide="0x7f000", prefix=""}}
invalidateSourcesList
();
}
else
if
(
m_isMacGdb
&&
asyncClass
==
"resolve-pending-breakpoint"
)
{
// Apple's gdb announces resolved breakpoints.
// new_bp="1",pended_bp="1",new_expr="\"gdbengine.cpp\":1584",
// bkpt={number="1",type="breakpoint",disp="keep",enabled="y",
// addr="0x0000000115cc3ddf",func="foo()",file="../foo.cpp",
// line="1584",shlib="/../libFoo_debug.dylib",times="0"}
const
GdbMi
bkpt
=
result
.
findChild
(
"bkpt"
);
const
int
number
=
bkpt
.
findChild
(
"number"
).
data
().
toInt
();
BreakHandler
*
handler
=
manager
()
->
breakHandler
();
BreakpointData
*
data
=
handler
->
findBreakpoint
(
number
);
breakpointDataFromOutput
(
data
,
bkpt
);
handler
->
updateMarkers
();
}
else
{
qDebug
()
<<
"IGNORED ASYNC OUTPUT"
<<
asyncClass
<<
result
.
toString
();
...
...
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