Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
kgdb_64.c File Reference
#include <linux/kgdb.h>
#include <linux/kdebug.h>
#include <linux/ftrace.h>
#include <asm/cacheflush.h>
#include <asm/kdebug.h>
#include <asm/ptrace.h>
#include <asm/irq.h>

Go to the source code of this file.

Functions

void pt_regs_to_gdb_regs (unsigned long *gdb_regs, struct pt_regs *regs)
 
void sleeping_thread_to_gdb_regs (unsigned long *gdb_regs, struct task_struct *p)
 
void gdb_regs_to_pt_regs (unsigned long *gdb_regs, struct pt_regs *regs)
 
int kgdb_arch_handle_exception (int e_vector, int signo, int err_code, char *remcomInBuffer, char *remcomOutBuffer, struct pt_regs *linux_regs)
 
asmlinkage void kgdb_trap (unsigned long trap_level, struct pt_regs *regs)
 
int kgdb_arch_init (void)
 
void kgdb_arch_exit (void)
 
void kgdb_arch_set_pc (struct pt_regs *regs, unsigned long ip)
 

Variables

struct kgdb_arch arch_kgdb_ops
 

Function Documentation

void gdb_regs_to_pt_regs ( unsigned long gdb_regs,
struct pt_regs regs 
)

Definition at line 84 of file kgdb_64.c.

void kgdb_arch_exit ( void  )

Definition at line 181 of file kgdb_64.c.

int kgdb_arch_handle_exception ( int  e_vector,
int  signo,
int  err_code,
char remcomInBuffer,
char remcomOutBuffer,
struct pt_regs linux_regs 
)

Definition at line 132 of file kgdb_64.c.

int kgdb_arch_init ( void  )

Definition at line 176 of file kgdb_64.c.

void kgdb_arch_set_pc ( struct pt_regs regs,
unsigned long  ip 
)

Definition at line 185 of file kgdb_64.c.

asmlinkage void kgdb_trap ( unsigned long  trap_level,
struct pt_regs regs 
)

Definition at line 160 of file kgdb_64.c.

void pt_regs_to_gdb_regs ( unsigned long gdb_regs,
struct pt_regs regs 
)

Definition at line 15 of file kgdb_64.c.

void sleeping_thread_to_gdb_regs ( unsigned long gdb_regs,
struct task_struct p 
)

Definition at line 41 of file kgdb_64.c.

Variable Documentation

struct kgdb_arch arch_kgdb_ops
Initial value:
= {
.gdb_bpt_instr = { 0x91, 0xd0, 0x20, 0x72 },
}

Definition at line 191 of file kgdb_64.c.