Re: Re: Command line equivalent for flashing, running openocd/gd

Sysprogs forums Forums VisualGDB Command line equivalent for flashing, running openocd/gdb Re: Re: Command line equivalent for flashing, running openocd/gd

#2819
ticica
Participant

Excellent. Thanks a lot. I got it to the point where I can load the elf file, break, single step, and look at variables. However, when I try to set the breakpoint, I get the following type of message:

-break-insert -f /cygdrive/c/svn/NZ04/Firmware/thin_display/stm32fxxx_it.c:190
&”No source file named /cygdrive/c/svn/NZ04/Firmware/thin_display/stm32fxxx_it.c.n”

My flow compiles through cygwin, and while the paths seem to work just fine coming from elf into VS, the other way around doesn’t seem to work. I can manually fix the path and enter the break-insert command on the GDB session command line. That works (well, VS GUI is not aware of that breakpoint, but otherwise it is OK).

Is there a fix/workaround that would take care of this issue so I can use F9…?