Bug 4967 - Some elided segments in fcore should not be (elided)
Summary: Some elided segments in fcore should not be (elided)
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 2243
  Show dependency treegraph
 
Reported: 2007-08-28 14:44 UTC by Phil Muldoon
Modified: 2007-08-28 15:27 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.