home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!swrinde!mips!sdd.hp.com!hpscdc!hplextra!hpcc05!hpcuhb!hpcuhe!cary
- From: cary@hpcuhe.cup.hp.com (Cary Coutant)
- Newsgroups: comp.sys.hp
- Subject: Re: Question on ss_flags values in the save_state structure
- Message-ID: <31480224@hpcuhe.cup.hp.com>
- Date: 12 Aug 92 22:07:52 GMT
- References: <Bsu2G6.91n@unx.sas.com>
- Organization: Hewlett Packard, Cupertino
- Lines: 19
-
- > Could someone fill me in on the implications for a debugger of the
- > various values in the ss_flags field of the save_state structure for
- > the HP-PA architecture (HP720)?
-
- If the process is stopped in a system call (ss_flags & SS_INSYSCALL),
- the actual pc value is in the gr31 field of the save_state structure,
- which will point to the return point in the system call stub. The only
- other save_state fields that are meaningful are sp, dp, rp, and sr4.
- The rp field will contain the return point of the procedure making the
- system call.
-
- Otherwise, the save_state structure should be valid, and the pc value
- for the point of interruption would be in the pc queue fields.
-
- The standard disclaimers apply -- this is not an official response from HP.
-
- Cary Coutant
- Hewlett-Packard
- California Language Lab
-