1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Check for .debug*

This commit is contained in:
Alain Magloire 2003-07-29 19:51:19 +00:00
parent ae3a1417f5
commit 0e40557ca2

View file

@ -691,7 +691,7 @@ public class Elf {
Section [] sec = getSections(); Section [] sec = getSections();
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();
attrib.bDebug = (s.equals(".debug") || s. equals(".stab")); attrib.bDebug = (s.startsWith(".debug") || s. equals(".stab"));
if (attrib.bDebug) { if (attrib.bDebug) {
break; break;
} }