Bug 1768 - Modify frysk.sys.proc.slurp to read into a byte buffer
Summary: Modify frysk.sys.proc.slurp to read into a byte buffer
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: 1452
  Show dependency treegraph
 
Reported: 2005-10-31 14:45 UTC by Andrew Cagney
Modified: 2005-10-31 19:08 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:45:58 UTC
Slurp should be able to read into an allocated bytebuffer - needed for larger
files such as maps.
Comment 1 Andrew Cagney 2005-10-31 19:08:50 UTC
Index: frysk-core/frysk/proc/ChangeLog
2005-10-31  Andrew Cagney  <cagney@redhat.com>

        * LinuxProc.java: Update BuildAuxv, replace buildDimensions with
        buildBuffer.

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

        * util/auxv.java: Update builder, replace buildDimensions with
        buildBuffer.

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

        * cni/slurp.hxx: Declare jbyteArray slurp(int,const char*)
        * cni/slurp.cxx: Implement.
        * cni/AuxvBuilder.cxx (construct): New, use jbyteArray slurp
        function.
        * AuxvBuilder.java: Add construct(byte[]), replace
        .buildDimensions with .buildBuffer.