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:
parent
ae3a1417f5
commit
0e40557ca2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue