RetroArch
debug.h
Go to the documentation of this file.
1 #ifndef __DEBUG_H__
2 #define __DEBUG_H__
3 
4 #include <gctypes.h>
5 
6 #define GDBSTUB_DEVICE_USB 0
7 #define GDBSTUB_DEVICE_TCP 1
9 #define GDBSTUB_DEF_CHANNEL 0
10 #define GDBSTUB_DEF_TCPPORT 2828
12 #ifdef __cplusplus
13  extern "C" {
14 #endif
15 
16 extern const char *tcp_localip;
17 extern const char *tcp_netmask;
18 extern const char *tcp_gateway;
19 
20 
27 void _break();
28 
29 
37 void DEBUG_Init(s32 device_type,s32 channel_port);
38 
39 #ifdef __cplusplus
40  }
41 #endif
42 
43 #endif
void _break()
Stub function to insert the hardware break instruction. This function is used to enter the debug stub...
Definition: debug.c:612
int32_t s32
32bit signed integer
Definition: gctypes.h:24
Data type definitions.
const char * tcp_netmask
void DEBUG_Init(s32 device_type, s32 channel_port)
Performs the initialization of the debug stub.
Definition: debug.c:619
const char * tcp_gateway
const char * tcp_localip