ppc32_linux support to ProcControlAPI
authorDaniel McNulty <mcnulty@bruckner.cs.wisc.edu>
Tue, 15 Feb 2011 22:33:07 +0000 (16:33 -0600)
committerDaniel McNulty <mcnulty@bruckner.cs.wisc.edu>
Tue, 15 Feb 2011 22:33:07 +0000 (16:33 -0600)
commit63026991e4a9e0e668c609b560bb13adebcc2601
tree25249aeff344419232715f1cf07127f862fbd3c5
parent80787f5e73b372977cd667e4e23da4402e4e267d
ppc32_linux support to ProcControlAPI

Refactored arch specific process class to x86_process to be arch_process
so multiple architectures can be supported for a single OS (Linux in
this case).

Implemented mmap and munmap snippets for both ppc32_linux and
ppc64_linux.

Implemented register access for ppc32_linux and ppc64_linux.

Added test iRPC snippets for ppc32 and ppc64 to pc_irpc.

Fixed a bug with pc_thread.

All ProcControl tests pass except for pc_singlestep. pc_singlestep
is not terminating due to a special case required to single step
an atomic instruction sequence (bookended by lwarx, stwcx.). More
to come on this soon.
20 files changed:
common/h/arch-power.h
dynutil/h/dyn_regs.h
proccontrol/i386-unknown-linux2.4/Makefile
proccontrol/ppc32_linux/Makefile [new file with mode: 0644]
proccontrol/src/arch_process.h [new file with mode: 0644]
proccontrol/src/freebsd.C
proccontrol/src/freebsd.h
proccontrol/src/linux-ppc.C [new file with mode: 0644]
proccontrol/src/linux-x86.C [new file with mode: 0644]
proccontrol/src/linux.C
proccontrol/src/linux.h
proccontrol/src/ppc_process.C [new file with mode: 0644]
proccontrol/src/snippets.h
proccontrol/src/sysv.C
proccontrol/src/unix.C
proccontrol/src/x86_process.C
proccontrol/x86_64-unknown-linux2.4/Makefile
testsuite/src/proccontrol/pc_irpc.C
testsuite/src/proccontrol/pc_thread.C
testsuite/src/proccontrol/proccontrol_comp.C