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, gdbOutput_, gdbSizeofBuf_, GDBDebugger::s_appNotStarted, GDBDebugger::s_dbgNotStarted, and GDBDebugger::s_silent. |
|
Definition at line 166 of file gdbcontroller.cpp. References GDBDebugger::debug_controllerExists, and gdbOutput_. |
Member Function Documentation
|
Referenced by actOnProgramPause(), parseLine(), and slotStart(). |
|
|
Definition at line 1140 of file gdbcontroller.cpp. References GDBDebugger::BPLIST, NOTINFOCMD, NOTRUNCMD, and queueCmd(). Referenced by slotBPState(). |
|
Implements GDBDebugger::DbgController. Definition at line 174 of file gdbcontroller.cpp. References config_asmDemangle_, config_breakOnLoadingLibrary_, config_configGdbScript_, config_dbgTerminal_, config_displayStaticMembers_, config_forceBPSet_, config_gdbPath_, config_runGdbScript_, config_runShellScript_, dom, NOTINFOCMD, NOTRUNCMD, pauseApp(), queueCmd(), RUNCMD, GDBDebugger::s_appBusy, GDBDebugger::s_silent, setStateOn(), and stateIsOn(). Referenced by GDBController(). |
|
Definition at line 328 of file gdbcontroller.cpp. References cmdList_, and currentCmd_. Referenced by programNoApp(), slotDbgProcessExited(), and slotStopDebugger(). |
|
|
|
Implements GDBDebugger::DbgController. Definition at line 1110 of file gdbcontroller.cpp. References GDBDebugger::BLOCK_START, parseCmdBlock(), and parseOther(). Referenced by slotDbgStdout(). |
|
|
Definition at line 823 of file gdbcontroller.cpp. References currentCmd_, and GDBDebugger::GDBSetBreakpointCommand::getKey(). Referenced by parseCmdBlock(). |
|
|
Definition at line 888 of file gdbcontroller.cpp. References GDBDebugger::BLOCK_START, parseProgramLocation(), GDBDebugger::s_silent, GDBDebugger::SRC_POSITION, state_, and stateIsOn(). Referenced by parseCmdBlock(). |
|
Definition at line 448 of file gdbcontroller.cpp. References acceptPendingBPs(), actOnProgramPause(), badCore_, GDBDebugger::BLOCK_START, GDBDebugger::BPLIST, currentCmd_, endl(), INFOCMD, 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 1060 of file gdbcontroller.cpp. References GDBDebugger::BLOCK_START, and parseLine(). Referenced by parse(). |
|
Definition at line 752 of file gdbcontroller.cpp. References actOnProgramPause(), endl(), kdDebug(), GDBDebugger::s_appBusy, GDBDebugger::s_silent, setStateOff(), state_, and stateIsOn(). Referenced by parseCmdBlock(), parseFrameSelected(), and parseLine(). |
|
Definition at line 838 of file gdbcontroller.cpp. References currentCmd_, GDBDebugger::GDBItemCommand::getItem(), GDBDebugger::TrimmableItem::trim(), GDBDebugger::VarItem::updateValue(), and varTree_. Referenced by parseCmdBlock(). |
|
Definition at line 812 of file gdbcontroller.cpp. References frameStack_, GDBDebugger::FramestackWidget::parseGDBThreadList(), GDBDebugger::VariableTree::setCurrentThread(), varTree_, GDBDebugger::FramestackWidget::viewedThread(), and viewedThread_. Referenced by parseCmdBlock(). |
|
Definition at line 855 of file gdbcontroller.cpp. References currentCmd_, GDBDebugger::GDBItemCommand::getItem(), GDBDebugger::VarItem::updateType(), and varTree_. Referenced by parseCmdBlock(). |
|
Definition at line 359 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 420 of file gdbcontroller.cpp. References GDBDebugger::FramestackWidget::clear(), currentFrame_, destroyCmds(), frameStack_, GDBDebugger::s_appNotStarted, GDBDebugger::s_programExited, GDBDebugger::s_shuttingDown, GDBDebugger::s_viewLocals, GDBDebugger::VariableTree::setActiveFlag(), state_, GDBDebugger::VariableTree::trim(), varTree_, and viewedThread_. Referenced by parseLine(). |
|
Implements GDBDebugger::DbgController. Definition at line 254 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 342 of file gdbcontroller.cpp. References cmdList_, GDBDebugger::DbgCommand::isAnInfoCmd(), and GDBDebugger::DbgCommand::isARunCmd(). Referenced by queueCmd(). |
|
Definition at line 1133 of file gdbcontroller.cpp. References queueCmd(). Referenced by slotBPState(). |
|
Definition at line 85 of file gdbcontroller.h. References setStateOff(), and state_. Referenced by actOnProgramPause(), executeCmd(), parseLine(), parseProgramLocation(), setStateOff(), slotAttachTo(), slotCoreFile(), slotDbgWroteStdin(), slotSetLocalViewState(), and slotStart(). |
|
Definition at line 84 of file gdbcontroller.h. References setStateOn(), and state_. Referenced by configure(), executeCmd(), parseLine(), setStateOn(), slotAttachTo(), slotBPState(), slotClearAllBreakpoints(), slotCoreFile(), slotSetLocalViewState(), and slotStopDebugger(). |
|
Implements GDBDebugger::DbgController. Definition at line 1432 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 1565 of file gdbcontroller.cpp. References pauseApp(). |
|
Definition at line 1623 of file gdbcontroller.cpp. References GDBDebugger::BPLIST, config_forceBPSet_, 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 1409 of file gdbcontroller.cpp. References GDBDebugger::ARGS, GDBDebugger::BACKTRACE, INFOCMD, GDBDebugger::LOCALS, NOTINFOCMD, NOTRUNCMD, queueCmd(), GDBDebugger::s_core, GDBDebugger::s_silent, GDBDebugger::s_viewLocals, setStateOff(), setStateOn(), and stateIsOn(). |
|
Implements GDBDebugger::DbgController. Definition at line 1986 of file gdbcontroller.cpp. References destroyCmds(), GDBDebugger::s_appNotStarted, GDBDebugger::s_programExited, GDBDebugger::s_shuttingDown, GDBDebugger::s_viewLocals, and state_. Referenced by slotStart(). |
|
Reimplemented from GDBDebugger::DbgController. Definition at line 1938 of file gdbcontroller.cpp. References endl(), kdDebug(), and slotDbgStdout(). Referenced by slotStart(). |
|
Implements GDBDebugger::DbgController. Definition at line 1862 of file gdbcontroller.cpp. References endl(), executeCmd(), gdbOutput_, gdbOutputLen_, gdbSizeofBuf_, holdingZone_, kdDebug(), and parse(). Referenced by slotDbgStderr(), and slotStart(). |
|
Implements GDBDebugger::DbgController. Definition at line 1976 of file gdbcontroller.cpp. References executeCmd(), GDBDebugger::s_waitForWrite, and setStateOff(). Referenced by slotStart(). |
|
Implements GDBDebugger::DbgController. Definition at line 1654 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 1774 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 1830 of file gdbcontroller.cpp. References GDBDebugger::DATAREQUEST, queueCmd(), GDBDebugger::s_appBusy, GDBDebugger::s_dbgNotStarted, GDBDebugger::s_shuttingDown, and stateIsOn(). |
|
Implements GDBDebugger::DbgController. Definition at line 1687 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 1665 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 1677 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 1454 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 1498 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 1849 of file gdbcontroller.cpp. References endl(), kdDebug(), GDBDebugger::s_viewLocals, setStateOff(), and setStateOn(). |
|
Start the debugger.
Implements GDBDebugger::DbgController. Definition at line 1188 of file gdbcontroller.cpp. References acceptPendingBPs(), application_, badCore_, config_asmDemangle_, config_breakOnLoadingLibrary_, config_dbgTerminal_, config_displayStaticMembers_, config_gdbPath_, NOTINFOCMD, NOTRUNCMD, DomUtil::PairList, queueCmd(), GDBDebugger::s_dbgNotStarted, setStateOff(), slotDbgProcessExited(), slotDbgStderr(), slotDbgStdout(), slotDbgWroteStdin(), KProcess::start(), state_, and tty_. |
|
Implements GDBDebugger::DbgController. Definition at line 1514 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 1524 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 1554 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 1534 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 1544 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 1327 of file gdbcontroller.cpp. References destroyCmds(), endl(), 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 1997 of file gdbcontroller.cpp. References GDBDebugger::ARGS, GDBDebugger::BACKTRACE, currentFrame_, endl(), INFOCMD, GDBDebugger::INFOTHREAD, kdDebug(), GDBDebugger::LOCALS, NOTINFOCMD, NOTRUNCMD, queueCmd(), RUNCMD, slotSelectFrame(), slotStopDebugger(), GDBDebugger::USERCMD, and viewedThread_. |
|
Reimplemented from GDBDebugger::DbgController. Definition at line 1759 of file gdbcontroller.cpp. References GDBDebugger::VarItem::fullName(), queueCmd(), GDBDebugger::s_appBusy, GDBDebugger::s_dbgNotStarted, GDBDebugger::s_shuttingDown, stateIsOn(), and GDBDebugger::WHATIS. |
|
Implements GDBDebugger::DbgController. Definition at line 86 of file gdbcontroller.h. References state_, and stateIsOn(). Referenced by actOnProgramPause(), configure(), executeCmd(), parseFrameSelected(), parseLine(), parseProgramLocation(), pauseApp(), slotAttachTo(), slotBPState(), slotClearAllBreakpoints(), slotCoreFile(), slotDisassemble(), slotExpandItem(), slotExpandUserItem(), slotLibraries(), slotMemoryDump(), slotRegisters(), slotRun(), slotRunUntil(), slotSelectFrame(), slotStepInto(), slotStepIntoIns(), slotStepOutOff(), slotStepOver(), slotStepOverIns(), slotStopDebugger(), slotVarItemConstructed(), 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(), and slotStart(). |
|
Definition at line 160 of file gdbcontroller.h. Referenced by configure(), and slotStart(). |
|
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(), and slotStart(). |
|
Definition at line 161 of file gdbcontroller.h. Referenced by configure(), slotBPState(), and slotClearAllBreakpoints(). |
|
Definition at line 165 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(), parseBreakpointSet(), parseCmdBlock(), parseLine(), parseRequestedData(), and parseWhatis(). |
|
Definition at line 138 of file gdbcontroller.h. Referenced by actOnProgramPause(), parseBacktraceList(), parseLocals(), programNoApp(), slotSelectFrame(), and slotUserGDBCmd(). |
|
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 GDBController(), slotDbgStdout(), and ~GDBController(). |
|
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(), setStateOff(), setStateOn(), slotDbgProcessExited(), slotStart(), slotStopDebugger(), and stateIsOn(). |
|
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(), parseBacktraceList(), parseLocals(), parseRequestedData(), parseThreadList(), parseWhatis(), programNoApp(), and slotSelectFrame(). |
|
Definition at line 139 of file gdbcontroller.h. Referenced by actOnProgramPause(), parseBacktraceList(), parseLocals(), parseThreadList(), programNoApp(), slotSelectFrame(), and slotUserGDBCmd(). |
The documentation for this class was generated from the following files:
- languages/cpp/debugger/gdbcontroller.h
- languages/cpp/debugger/gdbcontroller.cpp