Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
kgdb_32.c File Reference
#include <linux/kgdb.h>
#include <linux/kdebug.h>
#include <asm/kdebug.h>
#include <asm/ptrace.h>
#include <asm/irq.h>
#include <asm/cacheflush.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)
 
void do_hw_interrupt (struct pt_regs *regs, unsigned long type)
 
asmlinkage void kgdb_trap (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

unsigned long trapbase
 
struct kgdb_arch arch_kgdb_ops
 

Function Documentation

void do_hw_interrupt ( struct pt_regs regs,
unsigned long  type 
)

Definition at line 91 of file traps_32.c.

void gdb_regs_to_pt_regs ( unsigned long gdb_regs,
struct pt_regs regs 
)

Definition at line 79 of file kgdb_32.c.

void kgdb_arch_exit ( void  )

Definition at line 158 of file kgdb_32.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 107 of file kgdb_32.c.

int kgdb_arch_init ( void  )

Definition at line 153 of file kgdb_32.c.

void kgdb_arch_set_pc ( struct pt_regs regs,
unsigned long  ip 
)

Definition at line 162 of file kgdb_32.c.

asmlinkage void kgdb_trap ( struct pt_regs regs)

Definition at line 137 of file kgdb_32.c.

void pt_regs_to_gdb_regs ( unsigned long gdb_regs,
struct pt_regs regs 
)

Definition at line 16 of file kgdb_32.c.

void sleeping_thread_to_gdb_regs ( unsigned long gdb_regs,
struct task_struct p 
)

Definition at line 44 of file kgdb_32.c.

Variable Documentation

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

Definition at line 168 of file kgdb_32.c.

unsigned long trapbase