The were two problems:
1) the backslashes
2) I believe the ~ because I changed paths of the folder containing the elf and gdb didn't give me the error.
Question
I would like to use avr-gdb with a file elf Precisely I need to target a file in windows. I tried this:
target exec C:/Users/DARKCO1/AppData/Local/Temp/build8029591154609303866.tmp/sketch_aug17a.elf
But I get "No such file or directory"
Where is my mistake?
Solution 2
The were two problems:
1) the backslashes
2) I believe the ~ because I changed paths of the folder containing the elf and gdb didn't give me the error.
OTHER TIPS
Paths in Windows use backslashes. Recode the path as
C:\Users\DARKCO1\AppData\Local\Temp\build8029591154609303866.tmp\sketch_aug17a.elf