SimAVR
AVR Simulator
GDB

Enumerations

enum  avr_gdb_watch_type {
  AVR_GDB_BREAK_SOFT = 1 << 0, AVR_GDB_BREAK_HARD = 1 << 1, AVR_GDB_WATCH_WRITE = 1 << 2, AVR_GDB_WATCH_READ = 1 << 3,
  AVR_GDB_WATCH_ACCESS = AVR_GDB_WATCH_WRITE | AVR_GDB_WATCH_READ
}
 Watchpoint types. More...
 

Functions

int avr_gdb_init (avr_t *avr)
 Initialise GDB. More...
 
void avr_deinit_gdb (avr_t *avr)
 
int avr_gdb_processor (avr_t *avr, int sleep)
 Call from the main AVR decoder thread. More...
 
void avr_gdb_handle_watchpoints (avr_t *g, uint16_t addr, enum avr_gdb_watch_type type)
 Called from sim_core.c. More...
 

Detailed Description

Enumeration Type Documentation

Watchpoint types.

See GDB User Manual, Appendix E.2

Enumerator
AVR_GDB_BREAK_SOFT 
AVR_GDB_BREAK_HARD 
AVR_GDB_WATCH_WRITE 
AVR_GDB_WATCH_READ 
AVR_GDB_WATCH_ACCESS 

Function Documentation

void avr_deinit_gdb ( avr_t avr)

Here is the call graph for this function:

Here is the caller graph for this function:

void avr_gdb_handle_watchpoints ( avr_t avr,
uint16_t  addr,
enum avr_gdb_watch_type  type 
)

Called from sim_core.c.

Called from sim_core.c.

type is one of AVR_GDB_WATCH_READ, AVR_GDB_WATCH_WRITE depending on the type of access.

Here is the call graph for this function:

Here is the caller graph for this function:

int avr_gdb_init ( avr_t avr)

Initialise GDB.

Here is the call graph for this function:

Here is the caller graph for this function:

int avr_gdb_processor ( avr_t avr,
int  sleep 
)

Call from the main AVR decoder thread.

Here is the call graph for this function:

Here is the caller graph for this function: