SimAVR
AVR Simulator
sim_gdb.h
Go to the documentation of this file.
1 /*
2  * sim_gdb.h
3  *
4  * Copyright 2008, 2009 Michel Pollet <buserror@gmail.com>
5  *
6  * This file is part of simavr.
7  *
8  * simavr is free software: you can redistribute it and/or modify it under the terms of the GNU
9  * General Public License as published by the Free Software Foundation, either version 3 of the
10  * License, or (at your option) any later version.
11  *
12  * simavr is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
13  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
14  * Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along with simavr. If not, see
17  * <http://www.gnu.org/licenses/>.
18  */
19 
25 #ifndef __SIM_GDB_H__
26 #define __SIM_GDB_H__
27 
28 #ifdef __cplusplus
29 extern "C"
30 {
31 #endif
32 
36  {
39 
43  };
44 
46  int avr_gdb_init (avr_t * avr);
47  void avr_deinit_gdb (avr_t * avr);
49  int avr_gdb_processor (avr_t * avr, int sleep);
51  void avr_gdb_handle_watchpoints (avr_t * g, uint16_t addr, enum avr_gdb_watch_type type);
52 
53 #ifdef __cplusplus
54 };
55 #endif
56 
57 #endif /* __SIM_GDB_H__ */
58 
Definition: sim_gdb.h:37
void avr_deinit_gdb(avr_t *avr)
Definition: sim_gdb.c:675
avr_t * avr
Definition: run_avr.c:54
Definition: sim_gdb.h:38
void avr_gdb_handle_watchpoints(avr_t *g, uint16_t addr, enum avr_gdb_watch_type type)
Called from sim_core.c.
Definition: sim_gdb.c:578
int avr_gdb_processor(avr_t *avr, int sleep)
Call from the main AVR decoder thread.
Definition: sim_gdb.c:604
Definition: sim_gdb.h:42
int avr_gdb_init(avr_t *avr)
Initialise GDB.
Definition: sim_gdb.c:627
Definition: sim_gdb.h:41
avr_gdb_watch_type
Watchpoint types.
Definition: sim_gdb.h:35
Main AVR instance.
Definition: sim_avr.h:142
Definition: sim_gdb.h:40