1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-14 03:35:37 +02:00

FIx parsing.

This commit is contained in:
Alain Magloire 2003-09-11 16:40:19 +00:00
parent 09c4ef716b
commit 0f58242ba8

View file

@ -73,7 +73,6 @@ public class MIInfoSharedLibraryInfo extends MIInfo {
void parseUnixShared(String str, List aList) { void parseUnixShared(String str, List aList) {
if (str.length() > 0) { if (str.length() > 0) {
// Pass the header // Pass the header
if (Character.isDigit(str.charAt(0))) {
int index = -1; int index = -1;
long from = 0; long from = 0;
long to = 0; long to = 0;
@ -110,6 +109,7 @@ public class MIInfoSharedLibraryInfo extends MIInfo {
break; break;
} }
} }
if (name.length() > 0) {
MIShared s = new MIShared(from, to, syms, name); MIShared s = new MIShared(from, to, syms, name);
aList.add(s); aList.add(s);
} }