[issue926] tcsh consumes much cpu when trying to gdb anything

Matthew Dillon dillon at apollo.backplane.com
Thu Jan 24 11:49:41 PST 2008


:No, cursig() will always stop the process and let the tracing parent look=
:=20
:at the signal.
:
:However, as we don't want to block there, we are returning ERESTART from =
:
:fork1().  Now we should *only* do this if there is a signal.  Otherwise=20
:we'll just restart the syscall and the situation won't change.
:...
:>     thing to do about it?
:
:No, this is "new" code :)  It was added by you in 2006, sys/signalvar.h=20
:rev 1.15.
:
:I'm sure this is the correct fix.
:
:cheers
:   simon

    Ah, I see now.  Ok, commit that change.

						-Matt





More information about the Bugs mailing list