문제

As the title says, my Eclipse CDT does not recognize executables with file extensions. However, the problem is not that I have specified a wrong binary parser. I use the Elf parser and it recognizes all my executables correctly, as long as they don't have a file extension. If I change my executables with extensions from e.g. foo.dbg to foo, then they are also recognized correctly.

I would like to continue structuring my executables with extensions, so is there anything I can do? Any option in the settings I have overlooked?

도움이 되었습니까?

해결책

Look in your preferences:

General -> Editors -> File Associations

Maybe the .dbg is already associated with an editor.

Edit: With CDT, you should probably add the .gdb extension in the list of executable file types. To do so, go to Preferences, in General -> Content Type, open Binary File, click on Executable File, then on the Add button. Then enter *.gdb in the dialog box.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top