diff --git a/Makefile.toml b/Makefile.toml index b2e160a..a12406c 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -176,8 +176,11 @@ script = [ ''' writefile ${GDB_CONNECT_FILE} "target extended-remote :5555\n" appendfile ${GDB_CONNECT_FILE} "break *0x80000\n" + appendfile ${GDB_CONNECT_FILE} "break kernel_main\n" + echo Generated GDB config file ''' ] +#appendfile ${GDB_CONNECT_FILE} "continue\n" ## Generate zellij configuration file. [tasks.zellij-config] diff --git a/nucleus/Makefile.toml b/nucleus/Makefile.toml index 3e2fad7..44f9872 100644 --- a/nucleus/Makefile.toml +++ b/nucleus/Makefile.toml @@ -34,16 +34,6 @@ disabled = true [tasks.zellij-cb-gdb] disabled = true -[tasks.gdb-config] -script_runner = "@duckscript" -script = [ -''' - writefile ${GDB_CONNECT_FILE} "target extended-remote :5555\n" - appendfile ${GDB_CONNECT_FILE} "break *0x80000\n" - appendfile ${GDB_CONNECT_FILE} "continue\n" -''' -] - [tasks.gdb] dependencies = ["build", "kernel-binary", "gdb-config"] env = { "RUST_GDB" = "${GDB}" }