From: Peter.Mayne@cao.mts.dec.com (Peter Mayne)
Subject: Re: [Q] reading program counter through /proc
Date: 1995/06/07 [thread overview]
Message-ID: <3r3jl9$slk@jac.zko.dec.com> (raw)
In-Reply-To: sosic.802427215@kurango
In article <sosic.802427215@kurango>
sosic@kurango.cit.gu.edu.au (Rok Sosic) wrote:
> Hi,
>
> I am trying to manipulate a process through the /proc interface. Does
> someone know how to obtain the current value of the program counter of
> the manipulated process? I tried ioctl with PIOCSTATUS, which returns
> registers in pr_reg, but all the registers above 33 are set to 0,
> so it seems that they do not contain the PC.
ALpha only has 32 integer registers. R31 is hardwired to 0. The PC is
not directly accessible as a register.
PJDM
--
Peter Mayne
Digital Equipment Corporation (Australia)
Canberra, ACT
I wrote this, not Digital. I didn't write the X Files.
prev parent reply other threads:[~1995-06-07 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-06-06 4:00 [Q] reading program counter through /proc Rok Sosic
1995-06-07 4:00 ` Peter Mayne [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox