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

Jdb_bp Class Reference

#include <jdb_bp.h>

List of all members.

Static Public Member Functions

static int global_breakpoints ()
static void init_arch ()
static FIASCO_INIT void init ()
static int set_breakpoint (int num, Address addr, Mword len, Breakpoint::Mode mode, Breakpoint::Log log, Task_num task)
static void clr_breakpoint (int num)
static void logmode_breakpoint (int num, char mode)
static int first_unused ()
static int test_break (Mword dr6, char *errbuf, size_t bufsize)
static void test_log (Mword &dr6)
static Mword test_match (Address addr, Breakpoint::Mode mode)
static void restrict_task (int num, int other, Task_num task)
static void restrict_thread (int num, int other, GThread_num thread)
static void restrict_register (int num, char reg, Mword y, Mword z)
static void restrict_memory (int num, Mword addr, Mword len, Mword y, Mword z)
static void clear_restriction (int num)
static void list ()
static Mword get_dr (Mword i)

Static Private Member Functions

static void at_jdb_enter ()
static void at_jdb_leave ()
static int test_sstep ()
static int test_break (char *errbuf, size_t bufsize)
static int test_other (char *errbuf, size_t bufsize)
static int test_log_only ()
static void clr_dr7 (int num, Mword &dr7)
static void set_dr7 (int num, Mword len, Breakpoint::Mode mode, Mword &dr7)
static int set_debug_address_register (int num, Mword addr, Mword len, Breakpoint::Mode mode, Task_num)
static void clr_debug_address_register (int num)

Static Private Attributes

static Breakpoint bps [4]
static Mword dr7


Member Function Documentation

void Jdb_bp::at_jdb_enter  )  [static, private]
 

void Jdb_bp::at_jdb_leave  )  [static, private]
 

void Jdb_bp::clear_restriction int  num  )  [inline, static]
 

void Jdb_bp::clr_breakpoint int  num  )  [static]
 

void Jdb_bp::clr_debug_address_register int  num  )  [static, private]
 

void Jdb_bp::clr_dr7 int  num,
Mword &  dr7
[inline, static, private]
 

int Jdb_bp::first_unused  )  [static]
 

Mword Jdb_bp::get_dr Mword  i  )  [static]
 

int Jdb_bp::global_breakpoints  )  [static]
 

FIASCO_INIT void Jdb_bp::init  )  [static]
 

void Jdb_bp::init_arch  )  [static]
 

void Jdb_bp::list  )  [static]
 

void Jdb_bp::logmode_breakpoint int  num,
char  mode
[inline, static]
 

void Jdb_bp::restrict_memory int  num,
Mword  addr,
Mword  len,
Mword  y,
Mword  z
[inline, static]
 

void Jdb_bp::restrict_register int  num,
char  reg,
Mword  y,
Mword  z
[inline, static]
 

void Jdb_bp::restrict_task int  num,
int  other,
Task_num  task
[inline, static]
 

void Jdb_bp::restrict_thread int  num,
int  other,
GThread_num  thread
[inline, static]
 

int Jdb_bp::set_breakpoint int  num,
Address  addr,
Mword  len,
Breakpoint::Mode  mode,
Breakpoint::Log  log,
Task_num  task
[static]
 

int Jdb_bp::set_debug_address_register int  num,
Mword  addr,
Mword  len,
Breakpoint::Mode  mode,
Task_num 
[static, private]
 

void Jdb_bp::set_dr7 int  num,
Mword  len,
Breakpoint::Mode  mode,
Mword &  dr7
[inline, static, private]
 

int Jdb_bp::test_break Mword  dr6,
char *  errbuf,
size_t  bufsize
[static]
 

int Jdb_bp::test_break char *  errbuf,
size_t  bufsize
[static, private]
 

Returns:
1 if breakpoint occured

void Jdb_bp::test_log Mword &  dr6  )  [static]
 

int Jdb_bp::test_log_only  )  [static, private]
 

Returns:
0 if only breakpoints were logged and jdb should not be entered

Mword Jdb_bp::test_match Address  addr,
Breakpoint::Mode  mode
[static]
 

int Jdb_bp::test_other char *  errbuf,
size_t  bufsize
[static, private]
 

Returns:
1 if other debug exception occured

int Jdb_bp::test_sstep  )  [static, private]
 

Returns:
1 if single step occured


Member Data Documentation

Breakpoint Jdb_bp::bps [static, private]
 

Mword Jdb_bp::dr7 [static, private]
 


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