summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/gdbcontroller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/debugger/gdbcontroller.cpp')
-rw-r--r--languages/cpp/debugger/gdbcontroller.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/languages/cpp/debugger/gdbcontroller.cpp b/languages/cpp/debugger/gdbcontroller.cpp
index cff2635d..475afebc 100644
--- a/languages/cpp/debugger/gdbcontroller.cpp
+++ b/languages/cpp/debugger/gdbcontroller.cpp
@@ -320,7 +320,7 @@ void GDBController::queueCmd(GDBCommand *cmd, enum queue_where queue_where)
<< (stateReloadInProgress_ ? " (state reloading)\n" : "\n");
setStateOn(s_dbgBusy);
- emit dbgtqStatus("", state_);
+ emit dbgStatus("", state_);
raiseEvent(debugger_busy);
executeCmd();
@@ -409,7 +409,7 @@ void GDBController::executeCmd()
else
emit gdbInternalCommandStdout( prettyCmd.latin1() );
- emit dbgtqStatus ("", state_);
+ emit dbgStatus ("", state_);
}
// **************************************************************************
@@ -540,7 +540,7 @@ void GDBController::actOnProgramPauseMI(const GDBMI::ResultRecord& r)
// or whatever).
setStateOff(s_explicitBreakInto);
- emit dbgtqStatus("Application interrupted", state_);
+ emit dbgStatus("Application interrupted", state_);
// Will show the source line in the code
// handling non-special stop kinds, below.
}
@@ -592,7 +592,7 @@ void GDBController::reloadProgramState()
maybeAnnounceWatchpointHit();
}
- emit dbgtqStatus ("", state_);
+ emit dbgStatus ("", state_);
// We're always at frame zero when the program stops
// and we must reset the active flag
@@ -648,7 +648,7 @@ void GDBController::programNoApp(const TQString &msg, bool msgBox)
if (msgBox)
KMessageBox::information(0, i18n("gdb message:\n")+msg,"Warning", "gdb_error");
- emit dbgtqStatus (msg, state_);
+ emit dbgStatus (msg, state_);
/* Also show message in gdb window, so that users who
prefer to look at gdb window know what's up. */
emit gdbUserCommandStdout(msg.ascii());
@@ -755,7 +755,7 @@ void GDBController::maybeAnnounceWatchpointHit()
}
else if (last_stop_reason == "read-watchpoint-trigger")
{
- emit dbgtqStatus ("Read watchpoint triggered", state_);
+ emit dbgStatus ("Read watchpoint triggered", state_);
}
}
}
@@ -853,7 +853,7 @@ bool GDBController::start(const TQString& shell, const DomUtil::PairList& run_en
}
setStateOff(s_dbgNotStarted);
- emit dbgtqStatus ("", state_);
+ emit dbgStatus ("", state_);
saw_gdb_prompt_ = false;
@@ -1043,7 +1043,7 @@ void GDBController::slotStopDebugger()
gdbOutput_ = "";
setState(s_dbgNotStarted | s_appNotStarted);
- emit dbgtqStatus (i18n("Debugger stopped"), state_);
+ emit dbgStatus (i18n("Debugger stopped"), state_);
raiseEvent(debugger_exited);
}
@@ -1352,7 +1352,7 @@ void GDBController::defaultErrorHandler(const GDBMI::ResultRecord& result)
if (msg.contains("No such process"))
{
setState(s_appNotStarted|s_programExited);
- emit dbgtqStatus (i18n("Process exited"), state_);
+ emit dbgStatus (i18n("Process exited"), state_);
raiseEvent(program_exited);
return;
}
@@ -1629,7 +1629,7 @@ void GDBController::commandDone()
{
kdDebug(9012) << "No more commands\n";
setStateOff(s_dbgBusy);
- emit dbgtqStatus("", state_);
+ emit dbgStatus("", state_);
raiseEvent(debugger_ready);
}
}
@@ -1688,7 +1688,7 @@ void GDBController::raiseEvent(event_t e)
void GDBController::slotDbgStderr(KProcess *proc, char *buf, int buflen)
{
// At the moment, just drop a message out and redirect
- kdDebug(9012) << "STDERR: " << TQString::tqfromLatin1(buf, buflen+1) << endl;
+ kdDebug(9012) << "STDERR: " << TQString::fromLatin1(buf, buflen+1) << endl;
slotDbgStdout(proc, buf, buflen);
}
@@ -1722,7 +1722,7 @@ void GDBController::slotDbgProcessExited(KProcess* process)
destroyCmds();
setState(s_dbgNotStarted|s_appNotStarted|s_programExited);
- emit dbgtqStatus (i18n("Process exited"), state_);
+ emit dbgStatus (i18n("Process exited"), state_);
emit gdbUserCommandStdout("(gdb) Process exited\n");
}
@@ -1743,7 +1743,7 @@ void GDBController::slotUserGDBCmd(const TQString& cmd)
// raiseEvent(program_state_changed);
}
-void GDBController::explainDebuggertqStatus()
+void GDBController::explainDebuggerStatus()
{
TQString information("%1 commands in queue\n"
"%2 commands being processed by gdb\n"