ptrace & Re: Mark Williams csd

Henry Spencer henry at utzoo.UUCP
Fri Jan 4 06:00:15 AEST 1985


> ...  If, on a machine which doesn't support
> virtual memory or partial loading of processes, process A is debugging
> process B, and process A and process B don't both fit into main memory,
> "/proc" and "ptrace" are both going to be horribly inefficient.  I don't
> know how much V8's implementation of reads and writes on a process' address
> space depends on the kernel supporting virtual memory.

Not having had a close look at the innards of V8, I couldn't say.  The
problem you raise is equally applicable to ptrace, though, as you point
out.  If you ignore existing implementations and think about starting
from scratch, then one would appear to be no harder than the other.
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,linus,decvax}!utzoo!henry



More information about the Comp.lang.c mailing list