From d7c22926f41a48cf8f67ac7c759baa617b3a97b1 Mon Sep 17 00:00:00 2001 From: Daniel Egger Date: Sat, 13 Oct 2018 02:17:35 +0200 Subject: [PATCH] Default to extended-remote instead of remote mode Extended remote allows a lot more features like attaching and detaching and much more fine-grained execution options. If a gdbserver implementation supports it (and OpenOCD sure does) it should be preferred over `remote`. --- openocd.gdb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openocd.gdb b/openocd.gdb index 100408e..a7fd5d1 100644 --- a/openocd.gdb +++ b/openocd.gdb @@ -1,4 +1,4 @@ -target remote :3333 +target extended-remote :3333 # print demangled symbols set print asm-demangle on @@ -29,4 +29,4 @@ monitor arm semihosting enable load # start the process but immediately halt the processor -stepi \ No newline at end of file +stepi