This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [Darwin 2/4] Do not crash (failed assertion) after PT_KILL ptrace error
> I think I disagree here. PT_KILL should only fail if you pass it the
> wrong process ID. So unless there is an OS bug of some sorts, this is
> going to be a GDB internal error. Do you have actual evidence there
> is a kernel bug here?
It's true I don't. And I agree that the error could be an internal error,
but it could just as well be an error in the kernel too. So I still think
that an internal error/assert is too strong. What's more, we can still
continue without any degradation in the debugger performance. We just
failed one action which isn't critical to GDB's internal state.
--
Joel