1 /****************************************************************************
2  *
3  *  i386-stub.h
4  *
5  *  Description:  Data definitions and constants for low level
6  *                GDB server support.
7  *
8  *  Terms of use:  This software is provided for use under the terms
9  *                 and conditions of the GNU General Public License.
10  *                 You should have received a copy of the GNU General
11  *                 Public License along with this program; if not, write
12  *                 to the Free Software Foundation, Inc., 59 Temple Place
13  *                 Suite 330, Boston, MA 02111-1307, USA.
14  *
15  *  Credits:      Created by Jonathan Brogdon
16  *
17  *  History
18  *  Engineer:           Date:              Notes:
19  *  ---------           -----              ------
20  *  Jonathan Brogdon    20000617           Genesis
21  *  Gordon Schumacher   20020212           Updated for modularity
22  *
23  ****************************************************************************/
24 #ifndef _GDBSTUB_H_
25 #define _GDBSTUB_H_
26 
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 extern int	gdb_serial_init(unsigned int port, unsigned int speed);
32 extern void	gdb_target_init(void);
33 extern void	gdb_target_close(void);
34 
35 extern void set_debug_traps(void);
36 extern void restore_traps(void);
37 extern void	breakpoint(void);
38 #ifdef __cplusplus
39 }
40 #endif
41 
42 
43 #endif /* _GDBSTUB_H_ */
44