why is gdb 5.2 so slow
Kevin Buettner
kevinb@redhat.com
Fri Nov 1 10:44:00 GMT 2002
On Nov 1, 1:32pm, Andrew Cagney wrote:
> > In any case, this reminded me of something I keep forgetting. Modern
> > kernels a ptrace-attached process can open the child's /proc/<pid>/mem
> > and read from it. Writing to it is disabled, and mmap is not
> > implemented (oh the violence to the mm layer if that was allowed!).
> > But reading from it is probably faster than PTRACE_PEEKTEXT. I'll
> > investigate.
>
> Ah. How does solaris work then?
On Solaris, /proc provides a complete debug interface. On Linux, it doesn't.
Kevin
More information about the Gdb
mailing list