home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / programm / 6053 < prev    next >
Encoding:
Text File  |  1993-01-27  |  1.6 KB  |  46 lines

  1. Newsgroups: comp.unix.programmer
  2. Path: sparky!uunet!ukma!gatech!concert!unccsun.uncc.edu!bhpowell
  3. From: bhpowell@unccsun.uncc.edu (Bradley Heath Powell)
  4. Subject: need help with UNIX/SPARC/ptrace() single stepping...
  5. Message-ID: <C1J6FL.4no@unccsun.uncc.edu>
  6. Organization: University of NC at Charlotte
  7. Date: Wed, 27 Jan 1993 21:02:08 GMT
  8. Lines: 36
  9.  
  10.  
  11.  
  12. I am having GREAT difficulty finding information related to a academic project
  13. that I am working on...can anyone help me???
  14.  
  15. THE SYSTEM:
  16.    Sun SPARCstation 2
  17.    SunOS 4.1.3  (very similar to UNIX)
  18.  
  19. THE PROJECT:
  20.    I am writing a program that will record its child process' references to 
  21. memory addresses: i.e. every time the child process executes a load or store 
  22. machine instruction, the parent needs to write the address referenced and its 
  23. contents to a file.  Its purpose is to profile and evaluate the efficiency of 
  24. a process by examining its load and store instructions.
  25.  
  26. SOME QUESTIONS:
  27. - How does one (or can one...) implement single step debugging in C with 
  28.   ptrace(), wait(), signal(), exec(), etc... under SunOS/UNIX?
  29.  
  30. - Where can I find information about the SPARC processor, particularly info.
  31.   on encoding and decoding instructions? (yes, I've read the man pages and the
  32.   answer book, and contacted Sun...but not enough info!)
  33.  
  34. - Where can I find a comprehensive tutorial on SPARC assembly language?
  35.  
  36. PLEASE HELP
  37.    I would greatly appreciate any help that anyone can offer...please send 
  38. email to the address below.  I particularly need info. on where I can get
  39. books and sample code.
  40.  
  41.  
  42. Thanks-
  43.  
  44. Brad Powell
  45. email: bhpowell@unccsun.edu
  46.