Subject: Re: gdb attach
To: Jaromir Dolecek <jdolecek@NetBSD.org>
From: Bill Studenmund <firstname.lastname@example.org>
Date: 11/28/2006 11:02:39
Content-Type: text/plain; charset=us-ascii
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,
> > 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.
> > 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=
> > the same as Linux. I'm avoiding the discussion as to whether this is th=
> > way to get the filename from a pid. ;) FWIW, FreeBSD does this as well.
> > 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. :-(
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)
-----END PGP SIGNATURE-----