Subject: Re: gdb attach
To: matthew green <>
From: Nick Hudson <>
List: tech-toolchain
Date: 01/18/2006 11:53:36
On Wednesday 18 January 2006 10:58, matthew green 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
> symbols 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?
> this only matters for when you don't tell gdb a filename, right?


> in any case, is there a way to use solib-legacy as a fall back
> if /proc is not mounted?

I don't thnk so.