Bug 6592 - core dumper reads raw /proc/<pid>/auxv
Summary: core dumper reads raw /proc/<pid>/auxv
Status: NEW
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-04 22:16 UTC by Andrew Cagney
Modified: 2008-10-21 21:40 UTC (History)
1 user (show)

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 2008-06-04 22:16:30 UTC
It should instead serialize the Auxv obtained from Proc.getAuxv().

The new jni bindings don't give raw access to the auxv so I'll need to fix this.
Comment 1 Andrew Cagney 2008-06-04 22:17:51 UTC
Something like:

new ArrayByteBuffer (auxv.length * isa.wordsize * 2);
foreach auxv
    buffer.putword(auxv.type)
    buffer.putword(auxv.value)