|
From: Andrew F. <af...@ap...> - 2010-03-22 20:23:09
|
I had an issue source level debugging a C tool. I figured out the issue was the code was in Sources/C/Common directory and since no -Fd was passed to the compiler the .pdb file had the default name. This meant that each object in the common directory was overwriting the previous objects .pdb file. If you add -Fd$(@R).pdb to the .c.obj target this problem goes away. Not since the tools had a final link stage in a unique directory the default .pdb name worked for those tools. The problem is the .pdb files for things in common was getting trashed and you could not source level debug through that code. I guess you could also add this to the .cpp.obj: rule. Could some one review my proposed change and check in the fix? Andrew Fish |