#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/kgdb.h>
#include <linux/smp.h>
#include <linux/signal.h>
#include <linux/ptrace.h>
#include <linux/kdebug.h>
#include <asm/current.h>
#include <asm/processor.h>
#include <asm/machdep.h>
#include <asm/debug.h>
#include <linux/slab.h>
Go to the source code of this file.
|
int | kgdb_skipexception (int exception, struct pt_regs *regs) |
|
void | sleeping_thread_to_gdb_regs (unsigned long *gdb_regs, struct task_struct *p) |
|
char * | dbg_get_reg (int regno, void *mem, struct pt_regs *regs) |
|
int | dbg_set_reg (int regno, void *mem, struct pt_regs *regs) |
|
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 *linux_regs) |
|
int | kgdb_arch_init (void) |
|
void | kgdb_arch_exit (void) |
|
Value:
ptr = (unsigned long *)ptr32; \
} while (0)
Definition at line 213 of file kgdb.c.
#define PACK64 |
( |
|
ptr, |
|
|
|
src |
|
) |
| do { *(ptr++) = (src); } while (0) |
kgdb_skipexception - Bail out of KGDB when we've been triggered.
- Exceptions
-
| Exception vector number : Current &struct pt_regs. |
On some architectures we need to skip a breakpoint exception when it occurs after a breakpoint has been removed.
Definition at line 115 of file kgdb.c.
struct kgdb_arch arch_kgdb_ops |
Initial value:= {
.gdb_bpt_instr = {0x7d, 0x82, 0x10, 0x08},
}
Definition at line 447 of file kgdb.c.