Sometimes it happens that arm-none-eabi-gdb complains about “no source file named” in the GDB console view in Eclipse when I debug a project with GDB:
I certainly can ignore these messages, because they do not affect the functionality. But they are kind of annoying, right? Even more as they source files listed do not have anything to do with the project under debug.
Fixing these messages is easy: in most cases, they are trigged by some break points I still have set for some other projects:
I can use the ‘show full path’ option to actually see for which files they are configured:
So here they are set:
The projects for these breakpoints are closed in my workspace, so GDB has a problem with these files.
So if I want to get rid of GDB complaining about “No source file named ….” I simply can delete/remove these breakpoints. Done! 🙂
Happy Breakpointing 🙂