home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / hp / 9234 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.2 KB

  1. Path: sparky!uunet!cs.utexas.edu!swrinde!mips!sdd.hp.com!hpscdc!hplextra!hpcc05!hpcuhb!hpcuhe!cary
  2. From: cary@hpcuhe.cup.hp.com (Cary Coutant)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: Question on ss_flags values in the save_state structure
  5. Message-ID: <31480224@hpcuhe.cup.hp.com>
  6. Date: 12 Aug 92 22:07:52 GMT
  7. References: <Bsu2G6.91n@unx.sas.com>
  8. Organization: Hewlett Packard, Cupertino
  9. Lines: 19
  10.  
  11. > Could someone fill me in on the implications for a debugger of the
  12. > various values in the ss_flags field of the save_state structure for
  13. > the HP-PA architecture (HP720)?
  14.  
  15. If the process is stopped in a system call (ss_flags & SS_INSYSCALL),
  16. the actual pc value is in the gr31 field of the save_state structure,
  17. which will point to the return point in the system call stub.  The only
  18. other save_state fields that are meaningful are sp, dp, rp, and sr4.
  19. The rp field will contain the return point of the procedure making the
  20. system call.
  21.  
  22. Otherwise, the save_state structure should be valid, and the pc value
  23. for the point of interruption would be in the pc queue fields.
  24.  
  25. The standard disclaimers apply -- this is not an official response from HP.
  26.  
  27. Cary Coutant
  28. Hewlett-Packard
  29. California Language Lab
  30.