From 01ad7948420a466b850d84a4d73b3698c17c0b15 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Wed, 3 Aug 2022 19:16:24 -0400 Subject: =?UTF-8?q?Make=20=E2=80=98cargo=20run=E2=80=99=20start=20gdb.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cargo/config.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index f383523..2609695 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -6,5 +6,6 @@ xtask = "run --package xtask --" target = "riscv32imac-unknown-none-elf" [target.riscv32imac-unknown-none-elf] +runner = "riscv32-elf-gdb -x gdbinit" rustflags = ["-C", "link-arg=-Tdevice.lds", "-C", "link-arg=-nostdlib"] linker = "riscv32-elf-ld" -- cgit v1.2.3