Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
flatpak-qt-creator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
9157f12e
Commit
9157f12e
authored
Sep 29, 2009
by
hjk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugger: fix pid parsing from gdb output on Mac
parent
03e96608
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/plugins/debugger/gdb/gdbengine.cpp
src/plugins/debugger/gdb/gdbengine.cpp
+4
-0
No files found.
src/plugins/debugger/gdb/gdbengine.cpp
View file @
9157f12e
...
...
@@ -514,11 +514,15 @@ void GdbEngine::handleResponse(const QByteArray &buff)
static
QRegExp
re1
(
_
(
"New .hread 0x[0-9a-f]+
\\
(LWP ([0-9]*)
\\
)"
));
// MinGW 6.8: [New thread 2437.0x435345]
static
QRegExp
re2
(
_
(
"New .hread ([0-9]+)
\\
.0x[0-9a-f]*"
));
// Mac: [Switching to process 9294 local thread 0x2e03]
static
QRegExp
re3
(
_
(
"Switching to process ([0-9]+) local thread"
));
QTC_ASSERT
(
re1
.
isValid
()
&&
re2
.
isValid
(),
return
);
if
(
re1
.
indexIn
(
_
(
data
))
!=
-
1
)
maybeHandleInferiorPidChanged
(
re1
.
cap
(
1
));
else
if
(
re2
.
indexIn
(
_
(
data
))
!=
-
1
)
maybeHandleInferiorPidChanged
(
re2
.
cap
(
1
));
else
if
(
re3
.
indexIn
(
_
(
data
))
!=
-
1
)
maybeHandleInferiorPidChanged
(
re3
.
cap
(
1
));
}
// Show some messages to give the impression something happens.
...
...
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