Re: More trouble with i386 EFLAGS and ptrace

From: Linus Torvalds
Date: Sun Mar 06 2005 - 19:46:23 EST




On Sun, 6 Mar 2005, Daniel Jacobowitz wrote:
>
> I bought it, but the GDB testsuite didn't. Both copies seem to be
> necessary; there's generally no signal handler for SIGTRAP

Ahh, duh, yes. I was looking at it and saying "debug fault always
generates a sigtrap", but you're right, it obviously doesn't - usually
it's caught by the tracer.

Your patch looks fine.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/