Subject: Re: gdb attach
To: None <tech-toolchain@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: tech-toolchain
Date: 11/17/2006 18:04:32
In article <200611170739.11326.nick.hudson@dsl.pipex.com>,
Nick Hudson  <nick.hudson@dsl.pipex.com> wrote:
>-=-=-=-=-=-
>
>Hi,
>
>Here's a patch to make gdb6 attach work in a similar way to the fix I applied 
>to gdb5 for i386 only so far.
>
>The difference is that gdb6 likes to have the filename to display and re-open 
>the filename after the process dies so I've added an exe symlink to procfs in 
>the same as Linux. I'm avoiding the discussion as to whether this is the best 
>way to get the filename from a pid. ;) FWIW, FreeBSD does this as well.
>
>Any comments before I commit?

Commit please...

christos