Bug 3725 - Greatly simplify TestMemory
Summary: Greatly simplify TestMemory
Status: RESOLVED WONTFIX
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Tim Moore
URL:
Keywords:
Depends on: 3726
Blocks: 3387
  Show dependency treegraph
 
Reported: 2006-12-14 16:51 UTC by Andrew Cagney
Modified: 2008-03-11 13:57 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:51:02 UTC
TestMemory, nee TestModify, is trying to test the PtraceByteBuffer.  It doesn't
need to.  Instead a very simple portable memory I/O test, that confirms that the
Proc's memory is correctly wired is required.

A lower level sys test should be checking the PtraceByteBuffer.
Comment 1 Andrew Cagney 2006-12-14 17:24:49 UTC
One possible example might be to look in the AUXV for a known address and then
read/modify that.

The main thing though is that this really should be ISA independant and simple.
Comment 2 Andrew Cagney 2008-03-11 13:57:20 UTC
Other tests, such as code inserting/removing breakpoints are testing memory I/O.