Community
Participate
Working Groups
Created attachment 223140 [details] Proposed patch Using mingw toolchain: If you have multiple source files with the same name, then setting a breakpoint in one file will in true set breakpoints in all of them. So you have files d1\unit.cpp and d2\unit.cpp. You click on the margin of d1\unit.cpp to set the breakpoint. In true the program will break in both files. The behaviour is due to workaround for bug in gdb in mingw. The bugs were mentioned in 232415, 369622 and 196154. However I tested it using gdb 7.5 in mingw distribution and this bug doesn't appear any more. I attach the proposed patch. This is naive - it doesn't check what version of gdb is currently installed on the system.