Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2007 09:54:05 +0200
From:      des@des.no (Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?=)
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        Ricardo Nabinger Sanchez <rnsanchez@wait4.org>, freebsd-current@freebsd.org
Subject:   Re: Process for requesting reverting patch?
Message-ID:  <86hcqfx2le.fsf@dwp.des.no>
In-Reply-To: <20070514074630.GA2818@troutmask.apl.washington.edu> (Steve Kargl's message of "Mon\, 14 May 2007 00\:46\:30 -0700")
References:  <864pmg1t1s.fsf@dwp.des.no> <20070513183009.GA96018@troutmask.apl.washington.edu> <86646wzfv0.fsf@dwp.des.no> <20070513192836.GA94258@troutmask.apl.washington.edu> <46478626.9060301@FreeBSD.org> <20070513230055.1dbd22f5.rnsanchez@wait4.org> <20070514020635.GA99892@troutmask.apl.washington.edu> <20070514022620.GA52887@nagual.pp.ru> <20070514024316.GA197@troutmask.apl.washington.edu> <86ps53x3ci.fsf@dwp.des.no> <20070514074630.GA2818@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Steve Kargl <sgk@troutmask.apl.washington.edu> writes:
> "Dag-Erling Sm=C3=B8rgrav" <des@des.no> writes:
> > "tcsh hangs when invoked from gdb"?
> >
> > gdb uses ptrace(2), which breaks the process hierarchy - the debugged
> > process is reparented to gdb.  When the debugged process forks and gdb
> > attaches to the child, the child will seem - from the parent's
> > perspective - to disappear into thin air.
> >
> > This has never worked correctly in FreeBSD and is completely unrelated
> > to tcsh, so you can get off mp@'s back already.
> >
> > Fixing it is hard.  I've tried.  It seems easy until you realize that
> > you need to rewrite most of kern_wait().
> des, get off your high horse!
>
> gdb has always worked for me until the recent import of tcsh.
>
> I've use the freebsd base system gdb(1) for nearly 15 years
> without problems.  The recent tcsh import has broken gdb.  If you
> can fix it, fine; otherwise, crawl back under your rock.

OK, keep telling yourself that, and good luck with your life.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86hcqfx2le.fsf>