Bug 3724 - Use Task's ISA to determine TestRegs ISA
Summary: Use Task's ISA to determine TestRegs ISA
Status: ASSIGNED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Tim Moore
URL:
Keywords:
Depends on:
Blocks: 3387 3719
  Show dependency treegraph
 
Reported: 2006-12-14 16:22 UTC by Andrew Cagney
Modified: 2006-12-14 17:23 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:22:54 UTC
At present TestRegs uses the sequence:

- create an Internals class that watches for new tasks
- if machine is XXX, create XXX process and then wait for stop

It can be simplified to instead look at the task to determine which ISA to use:

- Create TestLib.AttachedSyscallDaemonProcess ; this creates a generic attached
process (funit-regs) and runs until the first system call

- get the tasks' ISA and use that to select the relevant test ; which means that
for 32-on-64 the test automatically selects the 32-bit isa.

Not all tests need converting.

For the un-converted tests, create bug-reports and fail the test.
Comment 1 Andrew Cagney 2006-12-14 17:23:23 UTC
Note that TestRegs has been replaced by TestRegisters; the problem is still there.