Home
last modified time | relevance | path

Searched refs:kgdb_state (Results 1 – 4 of 4) sorted by relevance

/linux/kernel/debug/
H A Ddebug_core.h19 struct kgdb_state { struct
67 extern int gdb_serial_stub(struct kgdb_state *ks);
71 extern int gdbstub_state(struct kgdb_state *ks, char *cmd);
75 extern int kdb_stub(struct kgdb_state *ks);
77 extern int kdb_common_init_state(struct kgdb_state *ks);
81 static inline int kdb_stub(struct kgdb_state *ks) in kdb_stub()
H A Dgdbstub.c477 static void gdb_cmd_status(struct kgdb_state *ks) in gdb_cmd_status()
491 static void gdb_get_regs_helper(struct kgdb_state *ks) in gdb_get_regs_helper()
535 static void gdb_cmd_getregs(struct kgdb_state *ks) in gdb_cmd_getregs()
542 static void gdb_cmd_setregs(struct kgdb_state *ks) in gdb_cmd_setregs()
555 static void gdb_cmd_memread(struct kgdb_state *ks) in gdb_cmd_memread()
573 static void gdb_cmd_memwrite(struct kgdb_state *ks) in gdb_cmd_memwrite()
596 static void gdb_cmd_reg_get(struct kgdb_state *ks) in gdb_cmd_reg_get()
611 static void gdb_cmd_reg_set(struct kgdb_state *ks) in gdb_cmd_reg_set()
638 static void gdb_cmd_binwrite(struct kgdb_state *ks) in gdb_cmd_binwrite()
649 static void gdb_cmd_detachkill(struct kgdb_state *ks) in gdb_cmd_detachkill()
[all …]
H A Ddebug_core.c515 static int kgdb_reenter_check(struct kgdb_state *ks) in kgdb_reenter_check()
571 static int kgdb_cpu_enter(struct kgdb_state *ks, struct pt_regs *regs, in kgdb_cpu_enter()
838 struct kgdb_state kgdb_var; in kgdb_handle_exception()
839 struct kgdb_state *ks = &kgdb_var; in kgdb_handle_exception()
853 memset(ks, 0, sizeof(struct kgdb_state)); in kgdb_handle_exception()
889 struct kgdb_state kgdb_var; in kgdb_nmicallback()
890 struct kgdb_state *ks = &kgdb_var; in kgdb_nmicallback()
894 memset(ks, 0, sizeof(struct kgdb_state)); in kgdb_nmicallback()
916 struct kgdb_state kgdb_var; in kgdb_nmicallin()
917 struct kgdb_state *ks = &kgdb_var; in kgdb_nmicallin()
[all …]
/linux/kernel/debug/kdb/
H A Dkdb_debugger.c35 static struct kgdb_state *kdb_ks;
37 int kdb_common_init_state(struct kgdb_state *ks) in kdb_common_init_state()
53 int kdb_stub(struct kgdb_state *ks) in kdb_stub()