Linux Kernel
3.7.1
|
#include <asm/ptrace.h>
Go to the source code of this file.
Data Structures | |
struct | frv_debug_status |
Macros | |
#define | GDB_REG_GR(N) (N) |
#define | GDB_REG_FR(N) (64+(N)) |
#define | GDB_REG_PC 128 |
#define | GDB_REG_PSR 129 |
#define | GDB_REG_CCR 130 |
#define | GDB_REG_CCCR 131 |
#define | GDB_REG_TBR 135 |
#define | GDB_REG_BRR 136 |
#define | GDB_REG_DBAR(N) (137+(N)) |
#define | GDB_REG_SCR(N) (141+(N)) |
#define | GDB_REG_LR 145 |
#define | GDB_REG_LCR 146 |
#define | GDB_REG_FSR0 149 |
#define | GDB_REG_ACC(N) (150+(N)) |
#define | GDB_REG_ACCG(N) (158+(N)/4) |
#define | GDB_REG_MSR(N) (160+(N)) |
#define | GDB_REG_GNER(N) (162+(N)) |
#define | GDB_REG_FNER(N) (164+(N)) |
#define | GDB_REG_SP GDB_REG_GR(1) |
#define | GDB_REG_FP GDB_REG_GR(2) |
#define | gdbstub_io(FMT,...) ({ 0; }) |
#define | gdbstub_proto(FMT,...) ({ 0; }) |
#define | __debug_frame (&__debug_frame0->regs) |
#define | __debug_user_context (&__debug_frame0->uc) |
#define | __debug_regs (&__debug_frame0->debug) |
#define | __debug_reg(X) ((unsigned long *) ((unsigned long) &__debug_frame0 + (X))) |
Functions | |
void | show_registers_only (struct pt_regs *regs) |
void | gdbstub_init (void) |
void | gdbstub (int type) |
void | gdbstub_exit (int status) |
void | gdbstub_io_init (void) |
void | gdbstub_set_baud (unsigned baud) |
int | gdbstub_rx_char (unsigned char *_ch, int nonblock) |
void | gdbstub_tx_char (unsigned char ch) |
void | gdbstub_tx_flush (void) |
void | gdbstub_do_rx (void) |
asmlinkage void | __debug_stub_init_break (void) |
asmlinkage void | __break_hijack_kernel_event (void) |
asmlinkage void | __break_hijack_kernel_event_breaks_here (void) |
asmlinkage void | gdbstub_rx_handler (void) |
asmlinkage void | gdbstub_rx_irq (void) |
asmlinkage void | gdbstub_intercept (void) |
void | gdbstub_printk (const char *fmt,...) |
void | debug_to_serial (const char *p, int n) |
void | console_set_baud (unsigned baud) |
register struct frv_frame0 *__debug_frame0 | asm ("gr31") |
Variables | |
uint32_t | __entry_usertrap_table [] |
uint32_t | __entry_kerneltrap_table [] |
volatile u8 | gdbstub_rx_buffer [PAGE_SIZE] |
volatile u32 | gdbstub_rx_inp |
volatile u32 | gdbstub_rx_outp |
volatile u8 | gdbstub_rx_overflow |
u8 | gdbstub_rx_unget |
struct frv_debug_status | __debug_status |
#define __debug_frame (&__debug_frame0->regs) |
Definition at line 131 of file gdb-stub.h.
Definition at line 134 of file gdb-stub.h.
#define __debug_regs (&__debug_frame0->debug) |
Definition at line 133 of file gdb-stub.h.
#define __debug_user_context (&__debug_frame0->uc) |
Definition at line 132 of file gdb-stub.h.
Definition at line 64 of file gdb-stub.h.
Definition at line 65 of file gdb-stub.h.
#define GDB_REG_BRR 136 |
Definition at line 58 of file gdb-stub.h.
#define GDB_REG_CCCR 131 |
Definition at line 56 of file gdb-stub.h.
#define GDB_REG_CCR 130 |
Definition at line 55 of file gdb-stub.h.
Definition at line 59 of file gdb-stub.h.
Definition at line 68 of file gdb-stub.h.
#define GDB_REG_FP GDB_REG_GR(2) |
Definition at line 71 of file gdb-stub.h.
Definition at line 52 of file gdb-stub.h.
#define GDB_REG_FSR0 149 |
Definition at line 63 of file gdb-stub.h.
Definition at line 67 of file gdb-stub.h.
Definition at line 51 of file gdb-stub.h.
#define GDB_REG_LCR 146 |
Definition at line 62 of file gdb-stub.h.
#define GDB_REG_LR 145 |
Definition at line 61 of file gdb-stub.h.
Definition at line 66 of file gdb-stub.h.
#define GDB_REG_PC 128 |
Definition at line 53 of file gdb-stub.h.
#define GDB_REG_PSR 129 |
Definition at line 54 of file gdb-stub.h.
Definition at line 60 of file gdb-stub.h.
#define GDB_REG_SP GDB_REG_GR(1) |
Definition at line 70 of file gdb-stub.h.
#define GDB_REG_TBR 135 |
Definition at line 57 of file gdb-stub.h.
#define gdbstub_io | ( | FMT, | |
... | |||
) | ({ 0; }) |
Definition at line 115 of file gdb-stub.h.
#define gdbstub_proto | ( | FMT, | |
... | |||
) | ({ 0; }) |
Definition at line 121 of file gdb-stub.h.
asmlinkage void __break_hijack_kernel_event | ( | void | ) |
asmlinkage void __break_hijack_kernel_event_breaks_here | ( | void | ) |
asmlinkage void __debug_stub_init_break | ( | void | ) |
|
read |
void console_set_baud | ( | unsigned | baud | ) |
Definition at line 201 of file debug-stub.c.
Definition at line 1393 of file gdb-stub.c.
gdbstub_exit - Send an exit message to GDB : The exit code to report.
Definition at line 2093 of file gdb-stub.c.
Definition at line 2027 of file gdb-stub.c.
asmlinkage void gdbstub_intercept | ( | void | ) |
Definition at line 233 of file gdb-stub.c.
asmlinkage void gdbstub_rx_handler | ( | void | ) |
asmlinkage void gdbstub_rx_irq | ( | void | ) |
struct frv_debug_status __debug_status |
Definition at line 42 of file debug-stub.c.
uint32_t __entry_kerneltrap_table[] |
uint32_t __entry_usertrap_table[] |
volatile u32 gdbstub_rx_inp |
Definition at line 173 of file gdb-stub.c.
volatile u32 gdbstub_rx_outp |
Definition at line 174 of file gdb-stub.c.
volatile u8 gdbstub_rx_overflow |
Definition at line 175 of file gdb-stub.c.
u8 gdbstub_rx_unget |
Definition at line 176 of file gdb-stub.c.