KallistiOS
git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
gdb.h
Go to the documentation of this file.
1
/* KallistiOS ##version##
2
3
arch/dreamcast/include/arch/gdb.h
4
(c)2002 Megan Potter
5
6
*/
7
8
/** \file arch/gdb.h
9
\brief GNU Debugger support.
10
\ingroup debugging_gdb
11
12
This file contains functions to set up and utilize GDB with KallistiOS.
13
14
\author Megan Potter
15
*/
16
17
#ifndef __ARCH_GDB_H
18
#define __ARCH_GDB_H
19
20
#include <sys/cdefs.h>
21
__BEGIN_DECLS
22
23
/** \defgroup debugging_gdb GDB
24
\brief Interface for using the GNU Debugger
25
\ingroup debugging
26
27
@{
28
*/
29
30
/** \brief Initialize the GDB stub.
31
32
This function initializes GDB support. It should be the first thing you do
33
in your program, when you wish to use GDB for debugging.
34
*/
35
void
gdb_init
(
void
);
36
37
/** \brief Manually raise a GDB breakpoint.
38
39
This function manually raises a GDB breakpoint at the current location in
40
the code, allowing you to inspect things with GDB at the point where the
41
function is called.
42
*/
43
void
gdb_breakpoint
(
void
);
44
45
/** @} */
46
47
__END_DECLS
48
49
#endif
/* __ARCH_GDB_H */
50
gdb_init
void gdb_init(void)
Initialize the GDB stub.
gdb_breakpoint
void gdb_breakpoint(void)
Manually raise a GDB breakpoint.
kernel
arch
dreamcast
include
arch
gdb.h
Generated by
1.11.0