gem5  v20.1.0.0
Public Member Functions | Protected Attributes | List of all members
BreakPCEvent Class Reference

#include <pc_event.hh>

Inheritance diagram for BreakPCEvent:
PCEvent

Public Member Functions

 BreakPCEvent (PCEventScope *s, const std::string &desc, Addr addr, bool del=false)
 
virtual void process (ThreadContext *tc)
 
- Public Member Functions inherited from PCEvent
 PCEvent (PCEventScope *q, const std::string &desc, Addr pc)
 
virtual ~PCEvent ()
 
virtual const std::string name () const
 
std::string descr () const
 
Addr pc () const
 
bool remove ()
 

Protected Attributes

bool remove
 
- Protected Attributes inherited from PCEvent
std::string description
 
PCEventScopescope
 
Addr evpc
 

Detailed Description

Definition at line 144 of file pc_event.hh.

Constructor & Destructor Documentation

◆ BreakPCEvent()

BreakPCEvent::BreakPCEvent ( PCEventScope s,
const std::string &  desc,
Addr  addr,
bool  del = false 
)

Definition at line 116 of file pc_event.cc.

Member Function Documentation

◆ process()

void BreakPCEvent::process ( ThreadContext tc)
virtual

Implements PCEvent.

Definition at line 123 of file pc_event.cc.

References Debug::breakpoint(), PCEvent::descr(), DPRINTFN, PCEvent::name(), and remove.

Member Data Documentation

◆ remove

bool BreakPCEvent::remove
protected

Definition at line 147 of file pc_event.hh.

Referenced by process().


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

Generated on Wed Sep 30 2020 14:02:22 for gem5 by doxygen 1.8.17