Bug 1767

Summary: Test AuxvBuilder
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Andrew Cagney <cagney>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1450    

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.