diff --git a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/coff/parser/BinaryObject.java b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/coff/parser/BinaryObject.java index f38245267f3..771b14acc31 100644 --- a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/coff/parser/BinaryObject.java +++ b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/coff/parser/BinaryObject.java @@ -252,6 +252,11 @@ public class BinaryObject extends BinaryFile implements IBinaryObject { if (addr2line != null) { try { String filename = addr2line.getFileName(sym.addr); + // Addr2line returns the funny "??" when it can not find the file. + if (filename != null && filename.equals("??")) { + filename = null; + } + if (filename != null) { if (cygpath != null) { sym.filename = new Path(cygpath.getFileName(filename));