X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/bffa3430fbbaaad29bec0b5bee9c1f0bfc7fd068..34f6af4f61e0eec9c96113e07f140b609b4113c8:/lunaix-os/arch/generic/includes/sys/gdbstub.h?ds=sidebyside diff --git a/lunaix-os/arch/generic/includes/sys/gdbstub.h b/lunaix-os/arch/generic/includes/sys/gdbstub.h deleted file mode 100644 index 70f0df9..0000000 --- a/lunaix-os/arch/generic/includes/sys/gdbstub.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef __LUNAIX_ARCH_GDBSTUB_ARCH_H -#define __LUNAIX_ARCH_GDBSTUB_ARCH_H - -#include "sys/hart.h" - -enum GDB_REGISTER -{ - // TODO add your registers - GDB_CPU_NUM_REGISTERS -}; - -struct gdb_state; - -void -arch_gdbstub_setup_state(struct gdb_state* state, struct hart_state* hstate); - -void -arch_gdbstub_save_regs(struct gdb_state* state, struct hart_state* hstate); - -void -arch_gdbstub_restore_regs(struct gdb_state* state, struct hart_state* hstate); - -int -gdb_sys_continue(struct gdb_state* state); - -int -gdb_sys_step(struct gdb_state* state); - -#endif /* __LUNAIX_ARCH_GDBSTUB_ARCH_H */ \ No newline at end of file