GDBDebugger::GDBController Class Reference
A front end implementation to the gdb command line debugger. More...
#include <gdbcontroller.h>
Inheritance diagram for GDBDebugger::GDBController:


Detailed Description
A front end implementation to the gdb command line debugger.
- Author:
- jbb
Definition at line 46 of file gdbcontroller.h.
Constructor & Destructor Documentation
|
Definition at line 127 of file gdbcontroller.cpp. References cmdList_, configure(), GDBDebugger::debug_controllerExists, gdbSizeofBuf_, GDBDebugger::s_appNotStarted, GDBDebugger::s_dbgNotStarted, and GDBDebugger::s_silent. |
|
Definition at line 167 of file gdbcontroller.cpp. References GDBDebugger::debug_controllerExists. |
Member Function Documentation
|
Referenced by actOnProgramPause(), parseLine(), and slotStart(). |
|
|
Definition at line 1161 of file gdbcontroller.cpp. References GDBDebugger::BPLIST, NOTINFOCMD, NOTRUNCMD, and queueCmd(). Referenced by slotBPState(). |
|
|
Definition at line 344 of file gdbcontroller.cpp. References cmdList_, and currentCmd_. Referenced by programNoApp(), slotDbgProcessExited(), and slotStopDebugger(). |
|
|
|
Implements GDBDebugger::DbgController. Definition at line 1131 of file gdbcontroller.cpp. References parseCmdBlock(), and parseOther(). Referenced by slotDbgStdout(). |
|
|
Definition at line 844 of file gdbcontroller.cpp. References GDBDebugger::GDBSetBreakpointCommand::getKey(), and GDBDebugger::DbgController::rawGDBBreakpointSet(). Referenced by parseCmdBlock(). |
|
|
Definition at line 909 of file gdbcontroller.cpp. References GDBDebugger::DbgController::dbgStatus(), parseProgramLocation(), GDBDebugger::s_silent, GDBDebugger::DbgController::showStepInSource(), state_, and stateIsOn(). Referenced by parseCmdBlock(). |
|
Definition at line 464 of file gdbcontroller.cpp. References acceptPendingBPs(), actOnProgramPause(), badCore_, GDBDebugger::BLOCK_START, GDBDebugger::BPLIST, currentCmd_, KMessageBox::error(), INFOCMD, KMessageBox::information(), GDBDebugger::INFOTHREAD, kdDebug(), NOTINFOCMD, NOTRUNCMD, parseProgramLocation(), programHasExited_, programNoApp(), queueCmd(), GDBDebugger::DbgCommand::rawDbgCommand(), RUNCMD, GDBDebugger::s_appBusy, GDBDebugger::s_core, GDBDebugger::s_silent, GDBDebugger::s_viewThreads, setStateOff(), setStateOn(), stateIsOn(), and unableToSetBPNow(). Referenced by parseOther(). |
|
|
Definition at line 1081 of file gdbcontroller.cpp. References GDBDebugger::BLOCK_START, and parseLine(). Referenced by parse(). |
|
Definition at line 773 of file gdbcontroller.cpp. References actOnProgramPause(), GDBDebugger::DbgController::dbgStatus(), kdDebug(), GDBDebugger::s_appBusy, GDBDebugger::s_silent, setStateOff(), GDBDebugger::DbgController::showStepInSource(), state_, and stateIsOn(). Referenced by parseCmdBlock(), parseFrameSelected(), and parseLine(). |
|
Definition at line 859 of file gdbcontroller.cpp. References GDBDebugger::GDBItemCommand::getItem(), GDBDebugger::TrimmableItem::trim(), GDBDebugger::VarItem::updateValue(), and varTree_. Referenced by parseCmdBlock(). |
|
Definition at line 833 of file gdbcontroller.cpp. References frameStack_, GDBDebugger::FramestackWidget::parseGDBThreadList(), GDBDebugger::VariableTree::setCurrentThread(), varTree_, GDBDebugger::FramestackWidget::viewedThread(), and viewedThread_. Referenced by parseCmdBlock(). |
|
Definition at line 876 of file gdbcontroller.cpp. References GDBDebugger::GDBItemCommand::getItem(), GDBDebugger::VarItem::updateType(), and varTree_. Referenced by parseCmdBlock(). |
|
Definition at line 375 of file gdbcontroller.cpp. References cmdList_, GDBDebugger::DbgCommand::isAnInfoCmd(), GDBDebugger::DbgCommand::isARunCmd(), KProcess::kill(), GDBDebugger::s_appBusy, GDBDebugger::s_silent, and stateIsOn(). Referenced by configure(), slotBPState(), slotBreakInto(), and slotClearAllBreakpoints(). |
|
Definition at line 436 of file gdbcontroller.cpp. References GDBDebugger::FramestackWidget::clear(), currentFrame_, GDBDebugger::DbgController::dbgStatus(), destroyCmds(), KMessageBox::error(), frameStack_, GDBDebugger::s_appNotStarted, GDBDebugger::s_programExited, GDBDebugger::s_viewLocals, GDBDebugger::VariableTree::setActiveFlag(), state_, GDBDebugger::VariableTree::trim(), varTree_, and viewedThread_. Referenced by parseLine(). |
|
Implements GDBDebugger::DbgController. Definition at line 270 of file gdbcontroller.cpp. References cmdList_, executeCmd(), GDBDebugger::DbgCommand::isARunCmd(), and removeInfoRequests(). Referenced by actOnProgramPause(), clearBreakpoint(), configure(), modifyBreakpoint(), parseLine(), setBreakpoint(), slotAttachTo(), slotBPState(), slotClearAllBreakpoints(), slotCoreFile(), slotDisassemble(), slotExpandItem(), slotExpandUserItem(), slotLibraries(), slotMemoryDump(), slotRegisters(), slotRun(), slotRunUntil(), slotSelectFrame(), slotStart(), slotStepInto(), slotStepIntoIns(), slotStepOutOff(), slotStepOver(), slotStepOverIns(), slotUserGDBCmd(), and slotVarItemConstructed(). |
|
Definition at line 358 of file gdbcontroller.cpp. References cmdList_, GDBDebugger::DbgCommand::isAnInfoCmd(), and GDBDebugger::DbgCommand::isARunCmd(). Referenced by queueCmd(). |
|
Definition at line 1154 of file gdbcontroller.cpp. References queueCmd(). Referenced by slotBPState(). |
|
Definition at line 85 of file gdbcontroller.h. Referenced by actOnProgramPause(), executeCmd(), parseLine(), parseProgramLocation(), slotAttachTo(), slotCoreFile(), slotDbgWroteStdin(), slotSetLocalViewState(), and slotStart(). |
|
Definition at line 84 of file gdbcontroller.h. Referenced by configure(), executeCmd(), parseLine(), slotAttachTo(), slotBPState(), slotClearAllBreakpoints(), slotCoreFile(), slotSetLocalViewState(), and slotStopDebugger(). |
|
Implements GDBDebugger::DbgController. Definition at line 1456 of file gdbcontroller.cpp. References GDBDebugger::ARGS, GDBDebugger::BACKTRACE, INFOCMD, GDBDebugger::LOCALS, NOTINFOCMD, NOTRUNCMD, queueCmd(), GDBDebugger::s_appNotStarted, GDBDebugger::s_attached, GDBDebugger::s_programExited, GDBDebugger::s_silent, GDBDebugger::s_viewLocals, setStateOff(), setStateOn(), and stateIsOn(). |
|
|
Implements GDBDebugger::DbgController. Definition at line 1589 of file gdbcontroller.cpp. References pauseApp(). |
|
Definition at line 1647 of file gdbcontroller.cpp. References GDBDebugger::BPLIST, NOTINFOCMD, NOTRUNCMD, pauseApp(), queueCmd(), RUNCMD, GDBDebugger::s_appBusy, GDBDebugger::s_dbgNotStarted, GDBDebugger::s_shuttingDown, GDBDebugger::s_silent, setStateOn(), and stateIsOn(). |
|
Implements GDBDebugger::DbgController. Definition at line 1433 of file gdbcontroller.cpp. References GDBDebugger::ARGS, GDBDebugger::BACKTRACE, INFOCMD, GDBDebugger::LOCALS, NOTRUNCMD, queueCmd(), GDBDebugger::s_core, GDBDebugger::s_silent, GDBDebugger::s_viewLocals, setStateOff(), setStateOn(), and stateIsOn(). |
|
Implements GDBDebugger::DbgController. Definition at line 2020 of file gdbcontroller.cpp. References GDBDebugger::DbgController::dbgStatus(), destroyCmds(), GDBDebugger::DbgController::gdbStdout(), GDBDebugger::s_appNotStarted, GDBDebugger::s_programExited, GDBDebugger::s_viewLocals, and state_. Referenced by slotStart(). |
|
Reimplemented from GDBDebugger::DbgController. Definition at line 1972 of file gdbcontroller.cpp. References kdDebug(), and slotDbgStdout(). Referenced by slotStart(). |
|
Implements GDBDebugger::DbgController. Definition at line 1896 of file gdbcontroller.cpp. References executeCmd(), gdbOutput_, gdbOutputLen_, gdbSizeofBuf_, GDBDebugger::DbgController::gdbStdout(), holdingZone_, kdDebug(), and parse(). Referenced by slotDbgStderr(), and slotStart(). |
|
Implements GDBDebugger::DbgController. Definition at line 2010 of file gdbcontroller.cpp. References executeCmd(), GDBDebugger::s_waitForWrite, and setStateOff(). Referenced by slotStart(). |
|
Implements GDBDebugger::DbgController. Definition at line 1678 of file gdbcontroller.cpp. References GDBDebugger::DISASSEMBLE, INFOCMD, NOTRUNCMD, queueCmd(), GDBDebugger::s_appBusy, GDBDebugger::s_dbgNotStarted, GDBDebugger::s_shuttingDown, and stateIsOn(). |
|
Implements GDBDebugger::DbgController. Definition at line 1801 of file gdbcontroller.cpp. References GDBDebugger::VarItem::getDataType(), queueCmd(), GDBDebugger::s_appBusy, GDBDebugger::s_dbgNotStarted, GDBDebugger::s_shuttingDown, stateIsOn(), and GDBDebugger::typePointer. |
|
Implements GDBDebugger::DbgController. Definition at line 1864 of file gdbcontroller.cpp. References queueCmd(), GDBDebugger::s_appBusy, GDBDebugger::s_dbgNotStarted, GDBDebugger::s_shuttingDown, and stateIsOn(). |
|
Implements GDBDebugger::DbgController. Definition at line 1711 of file gdbcontroller.cpp. References INFOCMD, GDBDebugger::LIBRARIES, NOTRUNCMD, queueCmd(), GDBDebugger::s_appBusy, GDBDebugger::s_dbgNotStarted, GDBDebugger::s_shuttingDown, and stateIsOn(). |
|
Implements GDBDebugger::DbgController. Definition at line 1689 of file gdbcontroller.cpp. References INFOCMD, GDBDebugger::MEMDUMP, NOTRUNCMD, queueCmd(), GDBDebugger::s_appBusy, GDBDebugger::s_dbgNotStarted, GDBDebugger::s_shuttingDown, and stateIsOn(). |
|
Implements GDBDebugger::DbgController. Definition at line 1701 of file gdbcontroller.cpp. References INFOCMD, NOTRUNCMD, queueCmd(), GDBDebugger::REGISTERS, GDBDebugger::s_appBusy, GDBDebugger::s_dbgNotStarted, GDBDebugger::s_shuttingDown, and stateIsOn(). |
|
Implements GDBDebugger::DbgController. Definition at line 1478 of file gdbcontroller.cpp. References application_, config_runGdbScript_, config_runShellScript_, GDBDebugger::STTY::getSlave(), NOTINFOCMD, queueCmd(), RUNCMD, GDBDebugger::s_appBusy, GDBDebugger::s_appNotStarted, GDBDebugger::s_dbgNotStarted, GDBDebugger::s_shuttingDown, KProcess::start(), stateIsOn(), and tty_. |
|
Implements GDBDebugger::DbgController. Definition at line 1522 of file gdbcontroller.cpp. References NOTINFOCMD, queueCmd(), RUNCMD, GDBDebugger::s_appBusy, GDBDebugger::s_dbgNotStarted, GDBDebugger::s_shuttingDown, and stateIsOn(). |
|
|
Implements GDBDebugger::DbgController. Definition at line 1883 of file gdbcontroller.cpp. References kdDebug(), GDBDebugger::s_viewLocals, setStateOff(), and setStateOn(). |
|
Start the debugger.
Implements GDBDebugger::DbgController. Definition at line 1209 of file gdbcontroller.cpp. References acceptPendingBPs(), application_, badCore_, config_dbgTerminal_, config_gdbPath_, config_outputRadix_, GDBDebugger::DbgController::dbgStatus(), KMessageBox::error(), GDBDebugger::DbgController::gdbStdout(), NOTINFOCMD, NOTRUNCMD, DomUtil::PairList, queueCmd(), GDBDebugger::s_dbgNotStarted, setStateOff(), slotDbgProcessExited(), slotDbgStderr(), slotDbgStdout(), slotDbgWroteStdin(), KProcess::start(), state_, tty_, GDBDebugger::DbgController::ttyStderr(), and GDBDebugger::DbgController::ttyStdout(). |
|
Implements GDBDebugger::DbgController. Definition at line 1538 of file gdbcontroller.cpp. References NOTINFOCMD, queueCmd(), RUNCMD, GDBDebugger::s_appBusy, GDBDebugger::s_appNotStarted, GDBDebugger::s_shuttingDown, and stateIsOn(). |
|
Implements GDBDebugger::DbgController. Definition at line 1548 of file gdbcontroller.cpp. References NOTINFOCMD, queueCmd(), RUNCMD, GDBDebugger::s_appBusy, GDBDebugger::s_appNotStarted, GDBDebugger::s_shuttingDown, and stateIsOn(). |
|
Implements GDBDebugger::DbgController. Definition at line 1578 of file gdbcontroller.cpp. References NOTINFOCMD, queueCmd(), RUNCMD, GDBDebugger::s_appBusy, GDBDebugger::s_appNotStarted, GDBDebugger::s_shuttingDown, and stateIsOn(). |
|
Implements GDBDebugger::DbgController. Definition at line 1558 of file gdbcontroller.cpp. References NOTINFOCMD, queueCmd(), RUNCMD, GDBDebugger::s_appBusy, GDBDebugger::s_appNotStarted, GDBDebugger::s_shuttingDown, and stateIsOn(). |
|
Implements GDBDebugger::DbgController. Definition at line 1568 of file gdbcontroller.cpp. References NOTINFOCMD, queueCmd(), RUNCMD, GDBDebugger::s_appBusy, GDBDebugger::s_appNotStarted, GDBDebugger::s_shuttingDown, and stateIsOn(). |
|
Implements GDBDebugger::DbgController. Definition at line 1351 of file gdbcontroller.cpp. References GDBDebugger::DbgController::dbgStatus(), destroyCmds(), GDBDebugger::DbgController::gdbStdout(), kdDebug(), KProcess::kill(), GDBDebugger::s_appBusy, GDBDebugger::s_appNotStarted, GDBDebugger::s_attached, GDBDebugger::s_dbgNotStarted, GDBDebugger::s_programExited, GDBDebugger::s_shuttingDown, GDBDebugger::s_silent, setStateOn(), state_, stateIsOn(), tty_, and KProcess::writeStdin(). Referenced by slotUserGDBCmd(). |
|
Definition at line 2031 of file gdbcontroller.cpp. References GDBDebugger::ARGS, GDBDebugger::BACKTRACE, INFOCMD, GDBDebugger::INFOTHREAD, kdDebug(), GDBDebugger::LOCALS, NOTRUNCMD, queueCmd(), slotSelectFrame(), and slotStopDebugger(). |
|
Reimplemented from GDBDebugger::DbgController. Definition at line 1783 of file gdbcontroller.cpp. References GDBDebugger::VarItem::fullName(), queueCmd(), GDBDebugger::s_appBusy, GDBDebugger::s_dbgNotStarted, GDBDebugger::s_shuttingDown, and stateIsOn(). |
|
|
Referenced by parseLine(). |
Member Data Documentation
|
Definition at line 151 of file gdbcontroller.h. Referenced by slotRun(), and slotStart(). |
|
Definition at line 156 of file gdbcontroller.h. Referenced by actOnProgramPause(), and parseBacktraceList(). |
|
Definition at line 150 of file gdbcontroller.h. Referenced by parseLine(), and slotStart(). |
|
Definition at line 146 of file gdbcontroller.h. Referenced by destroyCmds(), executeCmd(), GDBController(), pauseApp(), queueCmd(), and removeInfoRequests(). |
|
Definition at line 163 of file gdbcontroller.h. Referenced by configure(). |
|
Definition at line 160 of file gdbcontroller.h. Referenced by configure(). |
|
Definition at line 167 of file gdbcontroller.h. Referenced by configure(). |
|
Definition at line 166 of file gdbcontroller.h. |
|
Definition at line 164 of file gdbcontroller.h. Referenced by configure(), and slotStart(). |
|
Definition at line 162 of file gdbcontroller.h. Referenced by configure(). |
|
Definition at line 161 of file gdbcontroller.h. Referenced by configure(). |
|
Definition at line 165 of file gdbcontroller.h. Referenced by configure(), and slotStart(). |
|
Definition at line 170 of file gdbcontroller.h. Referenced by configure(), and slotStart(). |
|
Definition at line 169 of file gdbcontroller.h. Referenced by configure(), and slotRun(). |
|
Definition at line 168 of file gdbcontroller.h. Referenced by configure(), and slotRun(). |
|
Definition at line 147 of file gdbcontroller.h. Referenced by destroyCmds(), executeCmd(), parseCmdBlock(), and parseLine(). |
|
Definition at line 138 of file gdbcontroller.h. Referenced by actOnProgramPause(), parseBacktraceList(), parseLocals(), programNoApp(), and slotSelectFrame(). |
|
Definition at line 159 of file gdbcontroller.h. Referenced by configure(). |
|
Definition at line 136 of file gdbcontroller.h. Referenced by parseBacktraceList(), parseLocals(), parseThreadList(), programNoApp(), and slotSelectFrame(). |
|
Definition at line 143 of file gdbcontroller.h. Referenced by slotDbgStdout(). |
|
Definition at line 142 of file gdbcontroller.h. Referenced by slotDbgStdout(). |
|
Definition at line 141 of file gdbcontroller.h. Referenced by GDBController(), and slotDbgStdout(). |
|
Definition at line 144 of file gdbcontroller.h. Referenced by slotDbgStdout(). |
|
Definition at line 155 of file gdbcontroller.h. Referenced by parseLine(). |
|
Definition at line 154 of file gdbcontroller.h. Referenced by actOnProgramPause(), executeCmd(), parseFrameSelected(), parseProgramLocation(), programNoApp(), slotDbgProcessExited(), slotStart(), and slotStopDebugger(). |
|
Definition at line 149 of file gdbcontroller.h. Referenced by slotRun(), slotStart(), and slotStopDebugger(). |
|
Definition at line 137 of file gdbcontroller.h. Referenced by actOnProgramPause(), configure(), parseBacktraceList(), parseLocals(), parseRequestedData(), parseThreadList(), parseWhatis(), programNoApp(), and slotSelectFrame(). |
|
Definition at line 139 of file gdbcontroller.h. Referenced by actOnProgramPause(), parseBacktraceList(), parseLocals(), parseThreadList(), programNoApp(), and slotSelectFrame(). |
The documentation for this class was generated from the following files:
- languages/cpp/debugger/gdbcontroller.h
- languages/cpp/debugger/gdbcontroller.cpp