Subject: Re: gdb attach
To: Nick Hudson <firstname.lastname@example.org>
From: Jason Thorpe <email@example.com>
Date: 01/18/2006 10:11:11
On Jan 17, 2006, at 11:35 PM, Nick Hudson wrote:
> In looking at 32076 I wonder if instead of bringing back solib-
> legacy we could
> go down the route of using procfs to assist attach. This means the
> can be read and the ABI get initialised correctly. The downside is
> that /proc
> needs to mounted:
> (gdb) attach 12155
> Attaching to process 12155
> /proc/12155/file: No such file or directory.
> which is better than gdb crashing.
> Anyone object to this?
Not me. I've been talking off-and-on with Matt Thomas about gdb, and
I'm coming around to the idea that procfs should become the blessed
interface for gdb to use.