I am having GREAT difficulty finding information related to a academic project
that I am working on...can anyone help me???
THE SYSTEM:
Sun SPARCstation 2
SunOS 4.1.3 (very similar to UNIX)
THE PROJECT:
I am writing a program that will record its child process' references to
memory addresses: i.e. every time the child process executes a load or store
machine instruction, the parent needs to write the address referenced and its
contents to a file. Its purpose is to profile and evaluate the efficiency of
a process by examining its load and store instructions.
SOME QUESTIONS:
- How does one (or can one...) implement single step debugging in C with
ptrace(), wait(), signal(), exec(), etc... under SunOS/UNIX?
- Where can I find information about the SPARC processor, particularly info.
on encoding and decoding instructions? (yes, I've read the man pages and the
answer book, and contacted Sun...but not enough info!)
- Where can I find a comprehensive tutorial on SPARC assembly language?
PLEASE HELP
I would greatly appreciate any help that anyone can offer...please send
email to the address below. I particularly need info. on where I can get
books and sample code.
Thanks-
Brad Powell