Subject: Re: gdb attach
To: Jaromir Dolecek <>
From: Bill Studenmund <>
List: tech-kern
Date: 11/28/2006 11:02:39
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Nov 26, 2006 at 06:37:32PM +0100, Jaromir Dolecek wrote:
> On Fri, Nov 17, 2006 at 07:39:11AM +0000, Nick Hudson wrote:
> > Hi,
> >=20
> > Here's a patch to make gdb6 attach work in a similar way to the fix I a=
> > to gdb5 for i386 only so far.
> >=20
> > The difference is that gdb6 likes to have the filename to display and r=
> > the filename after the process dies so I've added an exe symlink to pro=
cfs in=20
> > the same as Linux. I'm avoiding the discussion as to whether this is th=
e best=20
> > way to get the filename from a pid. ;) FWIW, FreeBSD does this as well.
> >=20
> > Any comments before I commit?
> This makes gdb require mounted procfs, which is a serious regression,
> isn't it?

Well, is is a regression in our code or in gdb6?

Sadly, we will occasionally run into cases where other OSs and app=20
requirements push what we need to do. :-(

Take care,


Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.4.3 (NetBSD)