I’m having an issue where no break points are being set. Maybe you guys know what is going on. This is some of my output:
C:\gcc\gcc-arm-none-eabi-5_4-2016q3-20160926-win32\bin\arm-none-eabi-gdb.exe –interpreter mi path/to/…/file.hex
Warning: could not set a breakpoint on main. ‘Step into new instance’ will not work.
All created breakpoints are pending. Setting a breakpoint at main()…
Cannot resolve the address of _estack. Skipping stack pointer validity check.
As you can see, the all the addresses of the break points are say <PENDING>:
Num Type Disp Enb Address What
2 breakpoint keep y <PENDING> path/to/file…/fileTest.c:7
3 breakpoint keep y <PENDING> path/to/file…/main.c:1064
4 breakpoint keep y <PENDING> path/to/file…/file.c:140
5 breakpoint keep y <PENDING> path/to/file…/main.c:1063
6 breakpoint keep y <PENDING> path/to/file…/main.c:1065
7 breakpoint keep y <PENDING> path/to/file…/main.c:1066
8 breakpoint keep y <PENDING> path/to/file…/main.c:1067
9 breakpoint keep y <PENDING> main