GDBserver
Classes | Defines | Functions
/home/stan/gdb/src/gdb/gdbserver/i386-low.h File Reference

Go to the source code of this file.

Classes

struct  i386_debug_reg_state

Defines

#define DR_FIRSTADDR   0
#define DR_LASTADDR   3
#define DR_NADDR   4 /* The number of debug address registers. */
#define DR_STATUS   6
#define DR_CONTROL   7

Functions

void i386_low_init_dregs (struct i386_debug_reg_state *state)
int i386_low_insert_watchpoint (struct i386_debug_reg_state *state, char type_from_packet, CORE_ADDR addr, int len)
int i386_low_remove_watchpoint (struct i386_debug_reg_state *state, char type_from_packet, CORE_ADDR addr, int len)
int i386_low_region_ok_for_watchpoint (struct i386_debug_reg_state *state, CORE_ADDR addr, int len)
int i386_low_stopped_data_address (struct i386_debug_reg_state *state, CORE_ADDR *addr_p)
int i386_low_stopped_by_watchpoint (struct i386_debug_reg_state *state)
void i386_dr_low_set_addr (const struct i386_debug_reg_state *state, int regnum)
CORE_ADDR i386_dr_low_get_addr (int regnum)
void i386_dr_low_set_control (const struct i386_debug_reg_state *state)
unsigned i386_dr_low_get_control (void)
unsigned i386_dr_low_get_status (void)

Define Documentation

#define DR_CONTROL   7

Definition at line 38 of file i386-low.h.

Referenced by i386_dr_low_get_control(), and x86_linux_prepare_to_resume().

#define DR_FIRSTADDR   0
#define DR_LASTADDR   3
#define DR_NADDR   4 /* The number of debug address registers. */

Definition at line 36 of file i386-low.h.

Referenced by i386_insert_aligned_watchpoint(), and i386_low_region_ok_for_watchpoint().

#define DR_STATUS   6

Definition at line 37 of file i386-low.h.

Referenced by i386_dr_low_get_status(), and x86_linux_prepare_to_resume().


Function Documentation

unsigned i386_dr_low_get_control ( void  )
unsigned i386_dr_low_get_status ( void  )
void i386_dr_low_set_addr ( const struct i386_debug_reg_state state,
int  regnum 
)
void i386_dr_low_set_control ( const struct i386_debug_reg_state state)
void i386_low_init_dregs ( struct i386_debug_reg_state state)
int i386_low_insert_watchpoint ( struct i386_debug_reg_state state,
char  type_from_packet,
CORE_ADDR  addr,
int  len 
)
int i386_low_region_ok_for_watchpoint ( struct i386_debug_reg_state state,
CORE_ADDR  addr,
int  len 
)

Definition at line 535 of file i386-low.c.

References DR_NADDR, hw_write, i386_handle_nonaligned_watchpoint(), and WP_COUNT.

int i386_low_remove_watchpoint ( struct i386_debug_reg_state state,
char  type_from_packet,
CORE_ADDR  addr,
int  len 
)

Definition at line 632 of file i386-low.c.

References i386_low_stopped_data_address().

Referenced by i386_stopped_by_watchpoint(), and x86_stopped_by_watchpoint().

int i386_low_stopped_data_address ( struct i386_debug_reg_state state,
CORE_ADDR addr_p 
)
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines