Home
last modified time | relevance | path

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

/openbmc/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()
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()
596 static void gdb_cmd_reg_get(struct kgdb_state *ks) in gdb_cmd_reg_get()
674 static int gdb_cmd_reboot(struct kgdb_state *ks) in gdb_cmd_reboot()
695 static void gdb_cmd_query(struct kgdb_state *ks) in gdb_cmd_query()
809 static void gdb_cmd_task(struct kgdb_state *ks) in gdb_cmd_task()
846 static void gdb_cmd_thread(struct kgdb_state *ks) in gdb_cmd_thread()
860 static void gdb_cmd_break(struct kgdb_state *ks) in gdb_cmd_break()
[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 …]
/openbmc/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()