#include <linux/ctype.h>
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/kmsg_dump.h>
#include <linux/reboot.h>
#include <linux/sched.h>
#include <linux/sysrq.h>
#include <linux/smp.h>
#include <linux/utsname.h>
#include <linux/vmalloc.h>
#include <linux/atomic.h>
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/kallsyms.h>
#include <linux/kgdb.h>
#include <linux/kdb.h>
#include <linux/notifier.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/nmi.h>
#include <linux/time.h>
#include <linux/ptrace.h>
#include <linux/sysctl.h>
#include <linux/cpu.h>
#include <linux/kdebug.h>
#include <linux/proc_fs.h>
#include <linux/uaccess.h>
#include <linux/slab.h>
#include "kdb_private.h"
Go to the source code of this file.
|
| EXPORT_SYMBOL (kdb_grepping_flag) |
|
| EXPORT_SYMBOL (kdb_current_task) |
|
struct task_struct * | kdb_curr_task (int cpu) |
|
char * | kdbgetenv (const char *match) |
|
int | kdbgetintenv (const char *match, int *value) |
|
int | kdbgetularg (const char *arg, unsigned long *value) |
|
int | kdbgetu64arg (const char *arg, u64 *value) |
|
int | kdb_set (int argc, const char **argv) |
|
int | kdbgetaddrarg (int argc, const char **argv, int *nextarg, unsigned long *value, long *offset, char **name) |
|
int | kdb_parse (const char *cmdstr) |
|
void | kdb_set_current_task (struct task_struct *p) |
|
void | kdb_print_state (const char *text, int value) |
|
int | kdb_main_loop (kdb_reason_t reason, kdb_reason_t reason2, int error, kdb_dbtrap_t db_result, struct pt_regs *regs) |
|
| module_param_cb (enable_nmi,&kdb_param_ops_enable_nmi, NULL, 0600) |
|
void | kdb_ps_suppressed (void) |
|
void | kdb_ps1 (const struct task_struct *p) |
|
int | kdb_register_repeat (char *cmd, kdb_func_t func, char *usage, char *help, short minlen, kdb_repeat_t repeat) |
|
| EXPORT_SYMBOL_GPL (kdb_register_repeat) |
|
int | kdb_register (char *cmd, kdb_func_t func, char *usage, char *help, short minlen) |
|
| EXPORT_SYMBOL_GPL (kdb_register) |
|
int | kdb_unregister (char *cmd) |
|
| EXPORT_SYMBOL_GPL (kdb_unregister) |
|
void __init | kdb_init (int lvl) |
|
#define for_each_kdbcmd |
( |
|
cmd, |
|
|
|
num |
|
) |
| |
Value:for ((
cmd) = kdb_base_commands, (num) = 0; \
num < kdb_max_commands; \
Definition at line 84 of file kdb_main.c.
#define KDB_BASE_CMD_MAX 50 |
#define KDB_CMD_HISTORY_COUNT 32 |
#define kdb_command_extend 50 /* arbitrary */ |
#define KDB_ENVBUFSIZE 512 |
#define KDBMSG |
( |
|
msgnum, |
|
|
|
text |
|
) |
| { KDB_##msgnum, text } |
int kdb_main_loop |
( |
kdb_reason_t |
reason, |
|
|
kdb_reason_t |
reason2, |
|
|
int |
error, |
|
|
kdb_dbtrap_t |
db_result, |
|
|
struct pt_regs * |
regs |
|
) |
| |
module_param_cb |
( |
enable_nmi |
, |
|
|
& |
kdb_param_ops_enable_nmi, |
|
|
NULL |
, |
|
|
0600 |
|
|
) |
| |