gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
PCEvent Class Referenceabstract

#include <pc_event.hh>

Inheritance diagram for PCEvent:
BaseRemoteGDB::HardBreakpoint BreakPCEvent DumpStatsPCEvent IdleStartEvent IdleStartEvent IdleStartEvent Linux::DmesgDumpEvent Linux::KernelPanicEvent LinuxAlphaSystem::PrintThreadInfo LinuxMipsSystem::PrintThreadInfo PanicPCEvent SkipFuncEvent

Public Member Functions

 PCEvent (PCEventQueue *q, const std::string &desc, Addr pc)
 
virtual ~PCEvent ()
 
virtual const std::string name () const
 
std::string descr () const
 
Addr pc () const
 
bool remove ()
 
virtual void process (ThreadContext *tc)=0
 

Protected Attributes

std::string description
 
PCEventQueuequeue
 
Addr evpc
 

Detailed Description

Definition at line 44 of file pc_event.hh.

Constructor & Destructor Documentation

PCEvent::PCEvent ( PCEventQueue q,
const std::string &  desc,
Addr  pc 
)
inline

Definition at line 119 of file pc_event.hh.

References queue, and PCEventQueue::schedule().

virtual PCEvent::~PCEvent ( )
inlinevirtual

Definition at line 54 of file pc_event.hh.

References queue.

Member Function Documentation

std::string PCEvent::descr ( ) const
inline
virtual const std::string PCEvent::name ( ) const
inlinevirtual
Addr PCEvent::pc ( ) const
inline
virtual void PCEvent::process ( ThreadContext tc)
pure virtual
bool PCEvent::remove ( )
inline

Definition at line 126 of file pc_event.hh.

References panic, queue, and PCEventQueue::remove().

Member Data Documentation

std::string PCEvent::description
protected

Definition at line 47 of file pc_event.hh.

Referenced by descr(), and name().

Addr PCEvent::evpc
protected

Definition at line 49 of file pc_event.hh.

Referenced by BaseRemoteGDB::HardBreakpoint::HardBreakpoint(), and pc().

PCEventQueue* PCEvent::queue
protected

Definition at line 48 of file pc_event.hh.

Referenced by PCEvent(), remove(), and ~PCEvent().


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

Generated on Fri Jun 9 2017 13:04:16 for gem5 by doxygen 1.8.6