home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.programmer
- Path: sparky!uunet!ukma!gatech!concert!unccsun.uncc.edu!bhpowell
- From: bhpowell@unccsun.uncc.edu (Bradley Heath Powell)
- Subject: need help with UNIX/SPARC/ptrace() single stepping...
- Message-ID: <C1J6FL.4no@unccsun.uncc.edu>
- Organization: University of NC at Charlotte
- Date: Wed, 27 Jan 1993 21:02:08 GMT
- Lines: 36
-
-
-
- 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
- email: bhpowell@unccsun.edu
-