Skip to content
GitLab
Menu
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
7782e26a
Commit
7782e26a
authored
Oct 13, 2009
by
Oswald Buddenhagen
Browse files
comment out handleExecRunToFunction()
it is currently unused. do not just remove it, as hjk says he wants to revive it.
parent
885a425d
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
7782e26a
...
...
@@ -937,21 +937,21 @@ void GdbEngine::handleExecJumpToLine(const GdbResponse &response)
}
#endif
void
GdbEngine
::
handleExecRunToFunction
(
const
GdbResponse
&
response
)
{
// FIXME: remove this special case as soon as there's a real
// reason given when the temporary breakpoint is hit.
// reight now we get:
// 14*stopped,thread-id="1",frame={addr="0x0000000000403ce4",
// func="foo",args=[{name="str",value="@0x7fff0f450460"}],
// file="main.cpp",fullname="/tmp/g/main.cpp",line="37"}
QTC_ASSERT
(
state
()
==
InferiorStopping
,
qDebug
()
<<
state
())
setState
(
InferiorStopped
);
showStatusMessage
(
tr
(
"Function reached. Stopped."
));
GdbMi
frame
=
response
.
data
.
findChild
(
"frame"
);
StackFrame
f
=
parseStackFrame
(
frame
,
0
);
gotoLocation
(
f
,
true
);
}
//
void GdbEngine::handleExecRunToFunction(const GdbResponse &response)
//
{
//
// FIXME: remove this special case as soon as there's a real
//
// reason given when the temporary breakpoint is hit.
//
// reight now we get:
//
// 14*stopped,thread-id="1",frame={addr="0x0000000000403ce4",
//
// func="foo",args=[{name="str",value="@0x7fff0f450460"}],
//
// file="main.cpp",fullname="/tmp/g/main.cpp",line="37"}
//
QTC_ASSERT(state() == InferiorStopping, qDebug() << state())
//
setState(InferiorStopped);
//
showStatusMessage(tr("Function reached. Stopped."));
//
GdbMi frame = response.data.findChild("frame");
//
StackFrame f = parseStackFrame(frame, 0);
//
gotoLocation(f, true);
//
}
static
bool
isExitedReason
(
const
QByteArray
&
reason
)
{
...
...
src/plugins/debugger/gdb/gdbengine.h
View file @
7782e26a
...
...
@@ -268,7 +268,7 @@ private:
void
handleFileExecAndSymbols
(
const
GdbResponse
&
response
);
void
handleExecContinue
(
const
GdbResponse
&
response
);
void
handleExecJumpToLine
(
const
GdbResponse
&
response
);
void
handleExecRunToFunction
(
const
GdbResponse
&
response
);
//
void handleExecRunToFunction(const GdbResponse &response);
void
handleInfoShared
(
const
GdbResponse
&
response
);
void
handleShowVersion
(
const
GdbResponse
&
response
);
void
handleQueryPwd
(
const
GdbResponse
&
response
);
...
...
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