[lkml]   [2002]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: No PTRACE_READDATA for archs other than SPARC?
On Sun, May 19, 2002 at 09:40:53PM -0700, David S. Miller wrote:
> From: Pradeep Padala <>
> Date: Sun, 19 May 2002 23:08:36 -0400 (EDT)
> I was trying to understand ptrace code in kernel. It seems there's
> no PTRACE_READDATA for architectures other than sparc and sparc64.
> There's a function named ptrace_readdata() in kernel/ptrace.c but I
> couldn't find a way to invoke it from user space. Is the feature
> missing? or Is it intended?
> Only Sparc implements this, that is correct.
> If other platforms added PTRACE_READDATA support, they would
> also need to add some way to do a feature test for it's presence
> so that GDB and other debugging code could actually make use
> of it portably.

Not really, we should just get EINVAL (ENOSYS?) back when we try to use
it, right?

Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:22    [W:0.109 / U:0.960 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site