smk@axiom.UUCP (Steven M. Kramer) (03/03/85)
The ptrace man page says that when reading the U area to have an even Addr. Well, that should really be integer alligned on many UNIX systems, not just even. The even req only works for 16 bit ints. For 32 bits, it's a div 4 decision. Also, it specifies that the Addr must be less that 512. How old is this man page? It's on 4.2bsd and really should be updated. I'ts probably unchanged in most UNIXs. After all, how many people really use this call except for me??:-)?? (The man page compares with an original V7 man page I had around!) -- --steve kramer {allegra,genrad,ihnp4,utzoo,philabs,uw-beaver}!linus!axiom!smk (UUCP) linus!axiom!smk@mitre-bedford (MIL)
honey@down.FUN (code 101) (03/07/85)
i used to use ptrace. (it's a disease from which i have recovered.) it says here (in my 4.1 and 4.2 manuals) that on a vax, word also means a 32-bit integer, but the "even" restriction does not apply. ptrace is obsolete for systems with /proc. peter
henry@utzoo.UUCP (Henry Spencer) (03/08/85)
Actually, the part about address being less than 512 is a lie even in V7; the actual limit is the size of the U area, which was 1K in V7 and presumably hasn't gotten any smaller since. -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry
pallas@Shasta.ARPA (03/14/85)
"ptrace is obsolete for systems with /proc." Great! Where can I get one? :-(