Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* [Q] reading program counter through /proc
@ 1995-06-06  4:00 Rok Sosic
  1995-06-07  4:00 ` Peter Mayne
  0 siblings, 1 reply; 2+ messages in thread
From: Rok Sosic @ 1995-06-06  4:00 UTC (permalink / 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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-06-07  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-06-06  4:00 [Q] reading program counter through /proc Rok Sosic
1995-06-07  4:00 ` Peter Mayne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox