Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
kgdb.c File Reference
#include <linux/ptrace.h>
#include <linux/kgdb.h>
#include <linux/kdebug.h>
#include <linux/sched.h>
#include <linux/smp.h>
#include <asm/inst.h>
#include <asm/fpu.h>
#include <asm/cacheflush.h>
#include <asm/processor.h>
#include <asm/sigcontext.h>

Go to the source code of this file.

Data Structures

struct  hard_trap_info
 

Functions

int dbg_set_reg (int regno, void *mem, struct pt_regs *regs)
 
chardbg_get_reg (int regno, void *mem, struct pt_regs *regs)
 
void arch_kgdb_breakpoint (void)
 
void kgdb_roundup_cpus (unsigned long flags)
 
void sleeping_thread_to_gdb_regs (unsigned long *gdb_regs, struct task_struct *p)
 
void kgdb_arch_set_pc (struct pt_regs *regs, unsigned long pc)
 
int kgdb_arch_handle_exception (int vector, int signo, int err_code, char *remcom_in_buffer, char *remcom_out_buffer, struct pt_regs *regs)
 
int kgdb_arch_init (void)
 
void kgdb_arch_exit (void)
 

Variables

struct dbg_reg_def_t dbg_reg_def [DBG_MAX_REG_NUM]
 
struct kgdb_arch arch_kgdb_ops
 

Function Documentation

void arch_kgdb_breakpoint ( void  )

Definition at line 198 of file kgdb.c.

char* dbg_get_reg ( int  regno,
void mem,
struct pt_regs regs 
)

Definition at line 162 of file kgdb.c.

int dbg_set_reg ( int  regno,
void mem,
struct pt_regs regs 
)

Definition at line 129 of file kgdb.c.

void kgdb_arch_exit ( void  )

Definition at line 390 of file kgdb.c.

int kgdb_arch_handle_exception ( int  vector,
int  signo,
int  err_code,
char remcom_in_buffer,
char remcom_out_buffer,
struct pt_regs regs 
)

Definition at line 343 of file kgdb.c.

int kgdb_arch_init ( void  )

Definition at line 369 of file kgdb.c.

void kgdb_arch_set_pc ( struct pt_regs regs,
unsigned long  pc 
)

Definition at line 270 of file kgdb.c.

void kgdb_roundup_cpus ( unsigned long  flags)

Definition at line 214 of file kgdb.c.

void sleeping_thread_to_gdb_regs ( unsigned long gdb_regs,
struct task_struct p 
)

Definition at line 236 of file kgdb.c.

Variable Documentation

struct kgdb_arch arch_kgdb_ops

Definition at line 363 of file kgdb.c.

struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM]

Definition at line 53 of file kgdb.c.