Bug 1767 - Test AuxvBuilder
Summary: Test AuxvBuilder
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on:
Blocks: 1450
  Show dependency treegraph
 
Reported: 2005-10-31 14:44 UTC by Andrew Cagney
Modified: 2005-11-01 01:40 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 2005-10-31 14:44:19 UTC
- program frysk/sys/proc/auxv that dumps the auxv contents as java
- test frysk.sys.proc.TestAuxv
- add frysk.sys.proc.AuxvBuilder.constructor(byte[])
Comment 1 Andrew Cagney 2005-11-01 01:40:19 UTC
Index: frysk-core/frysk/proc/ChangeLog
2005-10-31  Andrew Cagney  <cagney@redhat.com>

        * TestProcGet.java: For ./prog/print/auxv, set STDERR to
        /dev/null.
        * LinuxProc.java: Update BuildAuxv, add bigEndian parameter to
        buildBuffer.

Index: frysk-core/prog/ChangeLog
2005-10-31  Andrew Cagney  <cagney@redhat.com>

        * util/auxv.java: Update builder, add bigEndian parameter to
        buildBuffer.
        * print/auxv.c: Print the AUXV as decimal bytes to stderr.

Index: frysk-sys/frysk/sys/proc/ChangeLog
2005-10-31  Andrew Cagney  <cagney@redhat.com>

        * TestAuxv.java: New.
        * cni/AuxvBuilder.cxx (get): New.
        (get32b, get32l, get64b, get64l): Replace get32, and get64.
        (verify): Drop wordSize parameter, use get for wordSize.
        (construct): Use a table to select the correct byte reader.
        * AuxvBuilder.java: Add bigEndian to .buildBuffer.