home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / vmsnet / internal / 1211 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  850 b 

  1. Path: sparky!uunet!mcsun!uknet!axion!eowen
  2. From: eowen@axion.bt.co.uk (Eddie Owen)
  3. Newsgroups: vmsnet.internals
  4. Subject: STACK LAYOUT IN SPECIAL KAST?
  5. Message-ID: <1992Aug28.164156@axion.bt.co.uk>
  6. Date: 28 Aug 92 15:41:56 GMT
  7. Sender: news@axion.bt.co.uk
  8. Reply-To: eowen@axion.bt.co.uk (Eddie Owen)
  9. Organization: British Telecom Research Labs
  10. Lines: 13
  11.  
  12.  
  13. I'm hacking some code to watch a process, and I want to see which procedures it's been calling.  Basically I send an IPL2 KAST to the process when it's CUR from some code on the timer queue, and I intend the KAST code to check previous call frames to find the saved PC.
  14.  
  15. What I need to know is :
  16.  
  17. When I'm in the KAST how can I find the saved PC, PSL and FP of the code I've interrupted, so that I can trace back through the stack.
  18.  
  19. Cheers
  20.  
  21. Eddie Owen
  22.  
  23. BT Software Development
  24. Tel +44 473 645813
  25.