Bug 4967

Summary: Some elided segments in fcore should not be (elided)
Product: frysk Reporter: Phil Muldoon <pmuldoon>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2243    

Description Phil Muldoon 2007-08-28 14:44:34 UTC
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;
}
Comment 1 Phil Muldoon 2007-08-28 15:27:56 UTC
2007-08-28  Phil Muldoon  <pmuldoon@localhost.localdomain>

	* LinuxElfCorefile.java (CoreMapsBuilder.buildMap): Check that module.getElf()
returns null. If it does, do not elide.