[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-patch] Patch for Elf.java
|
Index: ChangeLog
===================================================================
RCS file: /home/tools/org.eclipse.cdt.core/ChangeLog,v
retrieving revision 1.117
diff -u -r1.117 ChangeLog
--- ChangeLog 29 Jul 2003 14:28:36 -0000 1.117
+++ ChangeLog 29 Jul 2003 19:49:54 -0000
@@ -1,3 +1,10 @@
+2003-07-29 Alain Magloire
+
+ To discover if an application has debug info for DWARF-2 format
+ we look for section ".debug*"
+
+ * utils/org/eclipse/cdt/utils/Elf/elf.java
+
2003-07-28 Sean Evoy
In order to meet certain internal guidelines and to test the makefile
generator, the build model replied to some answers with hard-coded information.
Index: utils/org/eclipse/cdt/utils/elf/Elf.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/elf/Elf.java,v
retrieving revision 1.14
diff -u -r1.14 Elf.java
--- utils/org/eclipse/cdt/utils/elf/Elf.java 28 Jul 2003 13:36:57 -0000 1.14
+++ utils/org/eclipse/cdt/utils/elf/Elf.java 29 Jul 2003 19:49:55 -0000
@@ -691,7 +691,7 @@
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;
}