Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
debug_core.h File Reference

Go to the source code of this file.

Data Structures

struct  kgdb_state
 
struct  debuggerinfo_struct
 

Macros

#define DCPU_WANT_MASTER   0x1 /* Waiting to become a master kgdb cpu */
 
#define DCPU_NEXT_MASTER   0x2 /* Transition from one master cpu to another */
 
#define DCPU_IS_SLAVE   0x4 /* Slave cpu enter exception */
 
#define DCPU_SSTEP   0x8 /* CPU is single stepping */
 
#define DBG_PASS_EVENT   -12345
 
#define DBG_SWITCH_CPU_EVENT   -123456
 

Functions

int dbg_remove_all_break (void)
 
int dbg_set_sw_break (unsigned long addr)
 
int dbg_remove_sw_break (unsigned long addr)
 
int dbg_activate_sw_breakpoints (void)
 
int dbg_deactivate_sw_breakpoints (void)
 
int dbg_io_get_char (void)
 
int gdb_serial_stub (struct kgdb_state *ks)
 
void gdbstub_msg_write (const char *s, int len)
 
int gdbstub_state (struct kgdb_state *ks, char *cmd)
 

Variables

struct debuggerinfo_struct kgdb_info []
 
int dbg_switch_cpu
 
int dbg_kdb_mode
 

Macro Definition Documentation

#define DBG_PASS_EVENT   -12345

Definition at line 59 of file debug_core.h.

#define DBG_SWITCH_CPU_EVENT   -123456

Definition at line 61 of file debug_core.h.

#define DCPU_IS_SLAVE   0x4 /* Slave cpu enter exception */

Definition at line 34 of file debug_core.h.

#define DCPU_NEXT_MASTER   0x2 /* Transition from one master cpu to another */

Definition at line 33 of file debug_core.h.

#define DCPU_SSTEP   0x8 /* CPU is single stepping */

Definition at line 35 of file debug_core.h.

#define DCPU_WANT_MASTER   0x1 /* Waiting to become a master kgdb cpu */

Definition at line 32 of file debug_core.h.

Function Documentation

int dbg_activate_sw_breakpoints ( void  )

Definition at line 237 of file debug_core.c.

int dbg_deactivate_sw_breakpoints ( void  )

Definition at line 302 of file debug_core.c.

int dbg_io_get_char ( void  )

Definition at line 988 of file debug_core.c.

int dbg_remove_all_break ( void  )

Definition at line 350 of file debug_core.c.

int dbg_remove_sw_break ( unsigned long  addr)

Definition at line 324 of file debug_core.c.

int dbg_set_sw_break ( unsigned long  addr)

Definition at line 261 of file debug_core.c.

int gdb_serial_stub ( struct kgdb_state ks)

Definition at line 939 of file gdbstub.c.

void gdbstub_msg_write ( const char s,
int  len 
)

Definition at line 196 of file gdbstub.c.

int gdbstub_state ( struct kgdb_state ks,
char cmd 
)

Definition at line 1077 of file gdbstub.c.

Variable Documentation

int dbg_kdb_mode

Definition at line 90 of file debug_core.c.

int dbg_switch_cpu

Definition at line 87 of file debug_core.c.

Definition at line 61 of file debug_core.c.