Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Breakpoint Class Reference

#include <jdb_bp.h>

List of all members.

Public Types

enum  Mode { INSTRUCTION = 0, WRITE = 1, PORTIO = 2, ACCESS = 3 }
enum  Log { BREAK = 0, LOG = 1 }

Public Member Functions

 Breakpoint ()
void kill ()
int unused ()
int break_at_instruction ()
int match_addr (Address virt, Mode m)
void set_logmode (char m)
int is_break ()
void restrict_task (int other, Task_num task)
void restrict_thread (int other, GThread_num thread)
void restrict_register (char reg, Mword y, Mword z)
void restrict_memory (Mword addr, Mword len, Mword y, Mword z)
void clear_restriction ()
void show ()
int restricted (Thread *t)
int test_break (Thread *t, char *errbuf, size_t bufsize)
void test_log (Thread *t)
void set (Address _addr, Mword _len, Mode _mode, Log _log)

Private Attributes

Address addr
Unsigned8 len
Address_type user
Mode mode
Log log
Restriction restrict

Static Private Attributes

static char const *const mode_names [4]

Classes

struct  Bp_mem_res
struct  Bp_reg_res
struct  Bp_task_res
struct  Bp_thread_res
struct  Restriction


Member Enumeration Documentation

enum Breakpoint::Log
 

Enumeration values:
BREAK 
LOG 

enum Breakpoint::Mode
 

Enumeration values:
INSTRUCTION 
WRITE 
PORTIO 
ACCESS 


Constructor & Destructor Documentation

Breakpoint::Breakpoint  ) 
 


Member Function Documentation

int Breakpoint::break_at_instruction  )  [inline]
 

void Breakpoint::clear_restriction  )  [inline]
 

int Breakpoint::is_break  )  [inline]
 

void Breakpoint::kill  )  [inline]
 

int Breakpoint::match_addr Address  virt,
Mode  m
[inline]
 

void Breakpoint::restrict_memory Mword  addr,
Mword  len,
Mword  y,
Mword  z
[inline]
 

void Breakpoint::restrict_register char  reg,
Mword  y,
Mword  z
[inline]
 

void Breakpoint::restrict_task int  other,
Task_num  task
[inline]
 

void Breakpoint::restrict_thread int  other,
GThread_num  thread
[inline]
 

int Breakpoint::restricted Thread t  ) 
 

void Breakpoint::set Address  _addr,
Mword  _len,
Mode  _mode,
Log  _log
[inline]
 

void Breakpoint::set_logmode char  m  )  [inline]
 

void Breakpoint::show  ) 
 

int Breakpoint::test_break Thread t,
char *  errbuf,
size_t  bufsize
 

void Breakpoint::test_log Thread t  ) 
 

int Breakpoint::unused  )  [inline]
 


Member Data Documentation

Address Breakpoint::addr [private]
 

Unsigned8 Breakpoint::len [private]
 

Log Breakpoint::log [private]
 

Mode Breakpoint::mode [private]
 

char const *const Breakpoint::mode_names [static, private]
 

Initial value:

{
  "instruction", "write access", "i/o access", "r/w access"
}

Restriction Breakpoint::restrict [private]
 

Address_type Breakpoint::user [private]
 


The documentation for this class was generated from the following files:
Generated on Mon Sep 26 14:20:14 2005 for Fiasco by  doxygen 1.4.2