1 #ifndef __LUNAIX_ARCH_GDBSTUB_ARCH_H
2 #define __LUNAIX_ARCH_GDBSTUB_ARCH_H
8 // TODO add your registers
15 arch_gdbstub_setup_state(struct gdb_state* state, struct hart_state* hstate);
18 arch_gdbstub_save_regs(struct gdb_state* state, struct hart_state* hstate);
21 arch_gdbstub_restore_regs(struct gdb_state* state, struct hart_state* hstate);
24 gdb_sys_continue(struct gdb_state* state);
27 gdb_sys_step(struct gdb_state* state);
29 #endif /* __LUNAIX_ARCH_GDBSTUB_ARCH_H */