KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
gdb.h
Go to the documentation of this file.
1 /* KallistiOS ##version##
2 
3  arch/dreamcast/include/arch/gdb.h
4  (c)2002 Dan Potter
5 
6 */
7 
8 /** \file arch/gdb.h
9  \brief GNU Debugger support.
10 
11  This file contains functions to set up and utilize GDB with KallistiOS.
12 
13  \author Dan Potter
14 */
15 
16 #ifndef __ARCH_GDB_H
17 #define __ARCH_GDB_H
18 
19 #include <sys/cdefs.h>
20 __BEGIN_DECLS
21 
22 /** \brief Initialize the GDB stub.
23 
24  This function initializes GDB support. It should be the first thing you do
25  in your program, when you wish to use GDB for debugging.
26 */
27 void gdb_init();
28 
29 /** \brief Manually raise a GDB breakpoint.
30 
31  This function manually raises a GDB breakpoint at the current location in
32  the code, allowing you to inspect things with GDB at the point where the
33  function is called.
34 */
35 void gdb_breakpoint();
36 
37 __END_DECLS
38 
39 #endif /* __ARCH_GDB_H */
40 
void gdb_breakpoint()
Manually raise a GDB breakpoint.
void gdb_init()
Initialize the GDB stub.