diff --git a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/elf/Elf.java b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/elf/Elf.java index e54a63e7ad5..1ef4640e788 100644 --- a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/elf/Elf.java +++ b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/elf/Elf.java @@ -691,7 +691,7 @@ public class Elf { Section [] sec = getSections(); for (int i = 0; i < sec.length; i++) { String s = sec[i].toString(); - attrib.bDebug = (s.equals(".debug") || s. equals(".stab")); + attrib.bDebug = (s.startsWith(".debug") || s. equals(".stab")); if (attrib.bDebug) { break; }