From 065efc83fbf5163d15a0b8dc1ba09aad60787d07 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Wed, 29 Aug 2018 14:26:24 +0200 Subject: [PATCH] be explicit about the GDB script to use with this change the user doesn't need to set an [auto-load-safe-path] [auto-load-safe-path]: https://sourceware.org/gdb/onlinedocs/gdb/Auto_002dloading-safe-path.html --- .cargo/config | 2 +- .gdbinit => debug.gdb | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename .gdbinit => debug.gdb (100%) diff --git a/.cargo/config b/.cargo/config index f2af1fc..82b1da2 100644 --- a/.cargo/config +++ b/.cargo/config @@ -1,5 +1,5 @@ [target.'cfg(all(target_arch = "arm", target_os = "none"))'] -runner = 'arm-none-eabi-gdb' +runner = 'arm-none-eabi-gdb -x debug.gdb' rustflags = [ # LLD (shipped with the Rust toolchain) is used as the default linker "-C", "link-arg=-Tlink.x", diff --git a/.gdbinit b/debug.gdb similarity index 100% rename from .gdbinit rename to debug.gdb