Bug 3627 - test getMaps() with core file
Summary: test getMaps() with core file
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Phil Muldoon
URL:
Keywords:
Depends on:
Blocks: 1595
  Show dependency treegraph
 
Reported: 2006-11-30 19:22 UTC by Andrew Cagney
Modified: 2007-10-15 09:12 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 Andrew Cagney 2006-11-30 19:22:45 UTC
for a live process, /proc/$$/maps contains:
  00277000-00280000 r-xp 00000000 03:07 53129      /lib/libnss_files-2.4.so
where the last field is the object file, need to reconstruct that either:

- as a fudge by writing all the info out as a note section
works when the core is generated by frysk

- by extracting the information from the core's memory
works when the core is generated by the kernel - i.e., backward compatibility
Comment 1 Phil Muldoon 2007-10-15 09:12:08 UTC
2007-03-23  Phil Muldoon  <pmuldoon@redhat.com>

        * TestLinuxCore.java: New.
   
test function name is testLinuxCorefileMaps()
Comment 2 Phil Muldoon 2007-10-15 09:12:23 UTC
See above.