On Mon, May 14, 2007 at 09:54:05AM +0200, Dag-Erling Sm??rgrav wrote: > Steve Kargl <sgk_at_troutmask.apl.washington.edu> writes: > > "Dag-Erling Sm??rgrav" <des_at_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_at_'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. > Sigh. mp_at_ has already verified that the problem with gdb and tcsh occurs. Were you born stupid or did your have to work at it? -- SteveReceived on Mon May 14 2007 - 05:58:52 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:10 UTC