Process for requesting reverting patch?
des at des.no
Mon May 14 07:37:54 UTC 2007
Steve Kargl <sgk at troutmask.apl.washington.edu> writes:
> Read the entire thread. tcsh hangs when invoked from gdb with a
> .cshrc that contains
"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().
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-current