Bug 3726 - nothing tests PtraceByteBuffer
Summary: nothing tests PtraceByteBuffer
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 2231 3725 3727
  Show dependency treegraph
 
Reported: 2006-12-14 16:56 UTC by Andrew Cagney
Modified: 2007-07-23 09:54 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-12-14 16:56:03 UTC
The inua.eio directory contains a number of tests, but none run against a
PtraceByteBuffer.
Comment 1 Mark Wielaard 2007-07-23 09:54:21 UTC
Fixed a long time ago by:

2006-06-26  Mark Wielaard  <mark@klomp.org>

        * frysk-sys/frysk/sys/TestPtraceByteBuffer.java: New test.
        * frysk-sys/frysk/sys/TestLib.java (intVal, byteVal, longVal):
        New static fields.
        (getIntValAddr, getByteValAddr, getLongValAddr): New native methods.
        (getFuncAddr): Likewise.
        (getFuncBytes): Likewise.
        * frysk-sys/frysk/sys/cni/TestLib.cxx
        (dummyfunc): New static function.
        (getIntValAddr, getByteValAddr, getLongValAddr): New method.
        (getFuncAddr): Likewise.
        (getFuncBytes): Likewise.

        * frysk-sys/frysk/sys/cni/PtraceByteBuffer.cxx (peek): Use off when
        storing bytes.

Which has already been replaced with TestPtraceServer.