🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Bradley Heath Powell Wed, 27 Jan 1993 21:10
need help with UNIX/SPARC/ptrace() single stepping...
#2
Author: Bradley Heath Powell
Date: Wed, 27 Jan 1993 21:10
36 lines
1635 bytes

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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads