Subject: re: gdb attach
To: Nick Hudson <skrll@netbsd.org>
From: matthew green <mrg@eterna.com.au>
List: tech-toolchain
Date: 01/18/2006 21:58:42
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?