KDevelop API Documentation

GDBDebugger::DbgController Class Reference

#include <dbgcontroller.h>

Inheritance diagram for GDBDebugger::DbgController:

Inheritance graph
[legend]
Collaboration diagram for GDBDebugger::DbgController:

Collaboration graph
[legend]
List of all members.

Public Slots

virtual void configure ()=0
virtual void slotStart (const QString &shell, const DomUtil::PairList &run_envvars, const QString &run_directory, const QString &application, const QString &run_arguments)=0
 Start the debugger.
virtual void slotCoreFile (const QString &coreFile)=0
virtual void slotAttachTo (int pid)=0
virtual void slotStopDebugger ()=0
virtual void slotRun ()=0
virtual void slotRunUntil (const QString &fileName, int lineNum)=0
virtual void slotStepInto ()=0
virtual void slotStepOver ()=0
virtual void slotStepIntoIns ()=0
virtual void slotStepOverIns ()=0
virtual void slotStepOutOff ()=0
virtual void slotBreakInto ()=0
virtual void slotBPState (const Breakpoint &)=0
virtual void slotDisassemble (const QString &start, const QString &end)=0
virtual void slotMemoryDump (const QString &start, const QString &amount)=0
virtual void slotRegisters ()=0
virtual void slotLibraries ()=0
virtual void slotExpandItem (TrimmableItem *parent)=0
virtual void slotExpandUserItem (VarItem *parent, const QCString &userRequest)=0
virtual void slotSelectFrame (int frame, int thread, bool needFrames)=0
virtual void slotSetLocalViewState (bool onOff)=0
virtual void slotVarItemConstructed (VarItem *)

Signals

void gotoSourcePosition (const QString &fileName, int lineNum)
void rawGDBBreakpointList (char *buf)
void rawGDBBreakpointSet (char *buf, int key)
void rawGDBDisassemble (char *buf)
void rawGDBMemoryDump (char *buf)
void rawGDBRegisters (char *buf)
void rawGDBLibraries (char *buf)
void ttyStdout (const char *output)
void ttyStderr (const char *output)
void gdbStdout (const char *output)
void gdbStderr (const char *output)
void showStepInSource (const QString &fileName, int lineNum, const QString &address)
void dbgStatus (const QString &status, int statusFlag)

Public Member Functions

 DbgController ()
virtual ~DbgController ()
virtual bool stateIsOn (int state)=0

Protected Slots

virtual void slotDbgStdout (KProcess *proc, char *buf, int buflen)=0
virtual void slotDbgStderr (KProcess *, char *, int)
virtual void slotDbgWroteStdin (KProcess *proc)=0
virtual void slotDbgProcessExited (KProcess *proc)=0

Protected Member Functions

virtual void queueCmd (DbgCommand *cmd, bool executeNext)=0
virtual char * parse (char *str)=0

Protected Attributes

KProcessdbgProcess_

Constructor & Destructor Documentation

GDBDebugger::DbgController::DbgController  ) 
 

Definition at line 24 of file dbgcontroller.cpp.

GDBDebugger::DbgController::~DbgController  )  [virtual]
 

Definition at line 31 of file dbgcontroller.cpp.


Member Function Documentation

virtual void GDBDebugger::DbgController::configure  )  [pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

void GDBDebugger::DbgController::dbgStatus const QString status,
int  statusFlag
[signal]
 

Referenced by GDBDebugger::GDBController::actOnProgramPause(), GDBDebugger::GDBController::executeCmd(), GDBDebugger::GDBController::parseFrameSelected(), GDBDebugger::GDBController::parseProgramLocation(), GDBDebugger::GDBController::programNoApp(), GDBDebugger::GDBController::slotDbgProcessExited(), GDBDebugger::GDBController::slotStart(), and GDBDebugger::GDBController::slotStopDebugger().

void GDBDebugger::DbgController::gdbStderr const char *  output  )  [signal]
 

void GDBDebugger::DbgController::gdbStdout const char *  output  )  [signal]
 

Referenced by GDBDebugger::GDBController::executeCmd(), GDBDebugger::GDBController::slotDbgProcessExited(), GDBDebugger::GDBController::slotDbgStdout(), GDBDebugger::GDBController::slotStart(), and GDBDebugger::GDBController::slotStopDebugger().

void GDBDebugger::DbgController::gotoSourcePosition const QString fileName,
int  lineNum
[signal]
 

virtual char* GDBDebugger::DbgController::parse char *  str  )  [protected, pure virtual]
 

Implemented in GDBDebugger::GDBController.

virtual void GDBDebugger::DbgController::queueCmd DbgCommand cmd,
bool  executeNext
[protected, pure virtual]
 

Implemented in GDBDebugger::GDBController.

void GDBDebugger::DbgController::rawGDBBreakpointList char *  buf  )  [signal]
 

Referenced by GDBDebugger::GDBController::parseCmdBlock().

void GDBDebugger::DbgController::rawGDBBreakpointSet char *  buf,
int  key
[signal]
 

Referenced by GDBDebugger::GDBController::parseBreakpointSet().

void GDBDebugger::DbgController::rawGDBDisassemble char *  buf  )  [signal]
 

Referenced by GDBDebugger::GDBController::parseCmdBlock().

void GDBDebugger::DbgController::rawGDBLibraries char *  buf  )  [signal]
 

Referenced by GDBDebugger::GDBController::parseCmdBlock().

void GDBDebugger::DbgController::rawGDBMemoryDump char *  buf  )  [signal]
 

Referenced by GDBDebugger::GDBController::parseCmdBlock().

void GDBDebugger::DbgController::rawGDBRegisters char *  buf  )  [signal]
 

Referenced by GDBDebugger::GDBController::parseCmdBlock().

void GDBDebugger::DbgController::showStepInSource const QString fileName,
int  lineNum,
const QString address
[signal]
 

Referenced by GDBDebugger::GDBController::parseFrameSelected(), and GDBDebugger::GDBController::parseProgramLocation().

virtual void GDBDebugger::DbgController::slotAttachTo int  pid  )  [pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

Referenced by GDBDebugger::DebuggerPart::attachProcess().

virtual void GDBDebugger::DbgController::slotBPState const Breakpoint  )  [pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

virtual void GDBDebugger::DbgController::slotBreakInto  )  [pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

Referenced by GDBDebugger::DebuggerPart::slotPause().

virtual void GDBDebugger::DbgController::slotCoreFile const QString coreFile  )  [pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

Referenced by GDBDebugger::DebuggerPart::slotExamineCore().

virtual void GDBDebugger::DbgController::slotDbgProcessExited KProcess proc  )  [protected, pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

virtual void GDBDebugger::DbgController::slotDbgStderr KProcess ,
char *  ,
int 
[inline, protected, virtual, slot]
 

Reimplemented in GDBDebugger::GDBController.

Definition at line 124 of file dbgcontroller.h.

virtual void GDBDebugger::DbgController::slotDbgStdout KProcess proc,
char *  buf,
int  buflen
[protected, pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

virtual void GDBDebugger::DbgController::slotDbgWroteStdin KProcess proc  )  [protected, pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

virtual void GDBDebugger::DbgController::slotDisassemble const QString start,
const QString end
[pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

virtual void GDBDebugger::DbgController::slotExpandItem TrimmableItem parent  )  [pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

virtual void GDBDebugger::DbgController::slotExpandUserItem VarItem parent,
const QCString userRequest
[pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

virtual void GDBDebugger::DbgController::slotLibraries  )  [pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

virtual void GDBDebugger::DbgController::slotMemoryDump const QString start,
const QString amount
[pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

virtual void GDBDebugger::DbgController::slotRegisters  )  [pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

virtual void GDBDebugger::DbgController::slotRun  )  [pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

Referenced by GDBDebugger::DebuggerPart::slotRun().

virtual void GDBDebugger::DbgController::slotRunUntil const QString fileName,
int  lineNum
[pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

Referenced by GDBDebugger::DebuggerPart::slotRunToCursor().

virtual void GDBDebugger::DbgController::slotSelectFrame int  frame,
int  thread,
bool  needFrames
[pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

virtual void GDBDebugger::DbgController::slotSetLocalViewState bool  onOff  )  [pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

virtual void GDBDebugger::DbgController::slotStart const QString shell,
const DomUtil::PairList run_envvars,
const QString run_directory,
const QString application,
const QString run_arguments
[pure virtual, slot]
 

Start the debugger.

Parameters:
shell shell
run_envvars List with the environment variables
run_directory Directory from where the program should be run
application Absolute path to application
run_arguments Command line arguments to be passed to the application

Implemented in GDBDebugger::GDBController.

Referenced by GDBDebugger::DebuggerPart::startDebugger().

virtual void GDBDebugger::DbgController::slotStepInto  )  [pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

Referenced by GDBDebugger::DebuggerPart::slotStepInto().

virtual void GDBDebugger::DbgController::slotStepIntoIns  )  [pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

Referenced by GDBDebugger::DebuggerPart::slotStepIntoInstruction().

virtual void GDBDebugger::DbgController::slotStepOutOff  )  [pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

Referenced by GDBDebugger::DebuggerPart::slotStepOut().

virtual void GDBDebugger::DbgController::slotStepOver  )  [pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

Referenced by GDBDebugger::DebuggerPart::slotStepOver(), and GDBDebugger::DebuggerPart::slotStepOverInstruction().

virtual void GDBDebugger::DbgController::slotStepOverIns  )  [pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

virtual void GDBDebugger::DbgController::slotStopDebugger  )  [pure virtual, slot]
 

Implemented in GDBDebugger::GDBController.

Referenced by GDBDebugger::DebuggerPart::slotStopDebugger().

virtual void GDBDebugger::DbgController::slotVarItemConstructed VarItem  )  [inline, virtual, slot]
 

Reimplemented in GDBDebugger::GDBController.

Definition at line 120 of file dbgcontroller.h.

virtual bool GDBDebugger::DbgController::stateIsOn int  state  )  [pure virtual]
 

Implemented in GDBDebugger::GDBController.

Referenced by GDBDebugger::DebuggerPart::slotRun().

void GDBDebugger::DbgController::ttyStderr const char *  output  )  [signal]
 

Referenced by GDBDebugger::GDBController::slotStart().

void GDBDebugger::DbgController::ttyStdout const char *  output  )  [signal]
 

Referenced by GDBDebugger::GDBController::slotStart().


Member Data Documentation

KProcess* GDBDebugger::DbgController::dbgProcess_ [protected]
 

Definition at line 144 of file dbgcontroller.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 23 00:32:16 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003