1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-05 07:15:39 +02:00

2005-07-04 David Inglis

fix for bug# 101647

	* utils/org/eclipse/cdt/utils/elf/Elf.java
This commit is contained in:
David Inglis 2005-07-04 15:24:53 +00:00
parent aee9835a95
commit c67441b4ef
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-07-04 David Inglis
fix for bug# 101647
* utils/org/eclipse/cdt/utils/elf/Elf.java
2005-06-29 Alain Magloire 2005-06-29 Alain Magloire
Fix for PR 102174 patch from Johane Woo. Fix for PR 102174 patch from Johane Woo.
* utils/org/eclipse/cdt/utils/spawner/EnvironmentReader.java * utils/org/eclipse/cdt/utils/spawner/EnvironmentReader.java

View file

@ -856,7 +856,7 @@ public class Elf {
if (sec != null) { if (sec != null) {
for (int i = 0; i < sec.length; i++) { for (int i = 0; i < sec.length; i++) {
String s = sec[i].toString(); String s = sec[i].toString();
if (s.equals(".debug_info")) { //$NON-NLS-1$ if (s.startsWith(".debug")) { //$NON-NLS-1$
attrib.debugType = Attribute.DEBUG_TYPE_DWARF; attrib.debugType = Attribute.DEBUG_TYPE_DWARF;
break; break;
} else if (s.equals(".stab")) { //$NON-NLS-1$ } else if (s.equals(".stab")) { //$NON-NLS-1$