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
9937ef8e
Commit
9937ef8e
authored
Apr 30, 2009
by
Oswald Buddenhagen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable unused jump-to-line handler
parent
f6bf2e97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/plugins/debugger/gdbengine.cpp
src/plugins/debugger/gdbengine.cpp
+6
-2
No files found.
src/plugins/debugger/gdbengine.cpp
View file @
9937ef8e
...
...
@@ -125,7 +125,7 @@ enum GdbCommandType
GdbExecNextI
,
GdbExecContinue
,
GdbExecFinish
,
GdbExecJumpToLine
,
//
GdbExecJumpToLine,
GdbExecInterrupt
,
GdbInfoShared
,
GdbInfoProc
,
...
...
@@ -790,9 +790,11 @@ void GdbEngine::handleResult(const GdbResultRecord & record, int type,
case
GdbExecInterrupt
:
qq
->
notifyInferiorStopped
();
break
;
#if 0
case GdbExecJumpToLine:
handleExecJumpToLine(record);
break;
#endif
#if 0
case GdbQueryPwd:
handleQueryPwd(record);
...
...
@@ -1076,6 +1078,7 @@ void GdbEngine::handleInfoShared(const GdbResultRecord &record)
}
}
#if 0
void GdbEngine::handleExecJumpToLine(const GdbResultRecord &record)
{
// FIXME: remove this special case as soon as 'jump'
...
...
@@ -1088,7 +1091,7 @@ void GdbEngine::handleExecJumpToLine(const GdbResultRecord &record)
qq->notifyInferiorStopped();
q->showStatusMessage(tr("Jumped. Stopped."));
QByteArray output = record.data.findChild("logstreamoutput").data();
if
(
!
output
.
isEmpty
())
if (output.isEmpty())
return;
int idx1 = output.indexOf(' ') + 1;
if (idx1 > 0) {
...
...
@@ -1100,6 +1103,7 @@ void GdbEngine::handleExecJumpToLine(const GdbResultRecord &record)
}
}
}
#endif
void
GdbEngine
::
handleExecRunToFunction
(
const
GdbResultRecord
&
record
)
{
...
...
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