GDBserver
Macros | Functions | Variables
debug.h File Reference

Go to the source code of this file.

Macros

#define debug_enter()   do { } while (0)
 
#define debug_exit()   do { } while (0)
 

Functions

void debug_flush (void)
 
void do_debug_enter (const char *function_name)
 
void do_debug_exit (const char *function_name)
 

Variables

int debug_threads
 
int debug_timestamp
 

Macro Definition Documentation

◆ debug_enter

#define debug_enter ( )    do { } while (0)

Definition at line 48 of file debug.h.

Referenced by linux_resume(), linux_wait_1(), stop_all_lwps(), and unstop_all_lwps().

◆ debug_exit

#define debug_exit ( )    do { } while (0)

Definition at line 50 of file debug.h.

Referenced by linux_resume(), linux_wait_1(), stop_all_lwps(), and unstop_all_lwps().

Function Documentation

◆ debug_flush()

void debug_flush ( void  )

Definition at line 66 of file debug.c.

Referenced by getpkt(), handle_general_set(), prefork_hook(), and putpkt_binary_1().

◆ do_debug_enter()

void do_debug_enter ( const char *  function_name)

Definition at line 77 of file debug.c.

References debug_printf().

◆ do_debug_exit()

void do_debug_exit ( const char *  function_name)

Definition at line 89 of file debug.c.

References debug_printf().

Variable Documentation

◆ debug_threads

int debug_threads

Definition at line 24 of file debug.c.

◆ debug_timestamp

int debug_timestamp

Definition at line 27 of file debug.c.

Referenced by debug_vprintf(), and parse_debug_format_options().