From: sosic@kurango.cit.gu.edu.au (Rok Sosic)
Subject: [Q] reading program counter through /proc
Date: 1995/06/06 [thread overview]
Message-ID: <sosic.802427215@kurango> (raw)
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.
Any help will be greatly appreciated.
Cheers,
Rok
--
Rok Sosic (sosic@cit.gu.edu.au) _--_|\
School of Computing & Information Technology / GU (Brisbane)
Griffith University, Nathan, QLD 4111, AUSTRALIA \_.--._/
phone: +61 7 875 5026; fax: + 61 7 875 5051 v
WWW: http://www.cit.gu.edu.au/~sosic
next reply other threads:[~1995-06-06 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-06-06 4:00 Rok Sosic [this message]
1995-06-07 4:00 ` [Q] reading program counter through /proc Peter Mayne
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