(GDB) output (Vmicro built output attached. When I switch the Boot0 Jumper and attach, the .exe file not found error pops up):
H:\blackmagic>arm-none-eabi-gdb J:\temp\arduino_build_982994\Blink.ino.elf
H:\dev_tools\gcc-arm-8\bin\arm-none-eabi-gdb.exe: warning: Couldn't determine a path for the index cache directory.
GNU gdb (GNU Tools for Arm Embedded Processors 9-2019-q4-major) 8.3.0.20190709-git
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <
http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "--host=i686-w64-mingw32 --target=arm-none-eabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<
http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<
http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from J:\temp\arduino_build_982994\Blink.ino.elf...
(gdb) target extended-remote COM6
Remote debugging using COM6
(gdb) mon s
Target voltage: 1.97V
Available Targets:
No. Att Driver
1 STM32F1 (clone) medium density M3
(gdb) att 1
Attaching to program: J:\temp\arduino_build_982994\Blink.ino.elf, Remote target
0x1ffff3b6 in ?? ()
(gdb) att 2
A program is being debugged already. Kill it? (y or n) n
Not killed.
(gdb) att 1
A program is being debugged already. Kill it? (y or n) n
Not killed.
(gdb) load
Loading section .text, size 0x25b0 lma 0x8000000
Loading section .ARM.exidx, size 0x8 lma 0x80025b0
Loading section .data, size 0x830 lma 0x80025b8
Loading section .rodata, size 0x354 lma 0x8002de8
Start address 0x8000170, load size 12604
Transfer rate: 30 KB/sec, 840 bytes/write.
(gdb) b main
Breakpoint 1 at 0x8001da8: file M:\Arduino_Sketchbook\hardware\Arduino_STM32\STM32F1\cores\maple\main.cpp, line 38.
(gdb) continue
Continuing.
Note: automatically using hardware breakpoints for read-only addresses.
Breakpoint 1, main () at M:\Arduino_Sketchbook\hardware\Arduino_STM32\STM32F1\cores\maple\main.cpp:38
38 setup();
(gdb) continue
Continuing.
Program received signal SIGINT, Interrupt.
0x08001e76 in micros () at 8
58 do {
(gdb)