Logo Search packages:      
Sourcecode: bcov version File versions  Download package

Debugger Class Reference

#include <Debugger.hpp>

List of all members.


Detailed Description

Interface for the debugger.

Definition at line 9 of file Debugger.hpp.


Public Types

enum  Event { Error, Exit, Trap }
 Possible events.

Public Member Functions

bool close ()
 Close the debugger.
 Debugger ()
 Constructor.
void eliminateHitBreakpoint (BreakpointInfo &i)
 Remove the breakpoint we just hit and adjust IP.
void * getIP ()
 Get the current IP.
void * getIPBeforeTrap ()
 Get the current IP if we executed a trap instruction.
bool load (const std::string &executable, const std::vector< std::string > &arguments)
 Load a program.
bool removeBreakpoints (std::map< void *, BreakpointInfo > &addresses)
 Remove breakpoints.
Event run ()
 Run the program.
bool setBreakpoints (std::map< void *, BreakpointInfo > &addresses)
 Set breakpoints.
 ~Debugger ()
 Destructor.

Private Attributes

long activeChild
 The currently active child (can be different when threaded).
long child
 The child.

Classes

class  BreakpointInfo
 Breakpoint information. More...

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index