There needs to be a dwfl -> module -> getElf() check. If Elf == null, do not elide. Something like dwfl = DwflCache.getDwfl(process.getMainTask()); if (!writeMap) { DwflModule module = null; if (dwfl != null) { module = dwfl.getModule(addressLow); if (module != null) if (module.getElf() == null) writeMap = true; }
2007-08-28 Phil Muldoon <pmuldoon@localhost.localdomain> * LinuxElfCorefile.java (CoreMapsBuilder.buildMap): Check that module.getElf() returns null. If it does, do not elide.