On 04/30/2014 06:35 AM, Mark Kettenis wrote: > > If (and only if) the goal of that TS_COMPAT flag solely is to trigger > the error code sign-extension in arch/x86/asm/syscall.h:syscall_get_error(), > we could work around to problem in GDB by checking "orig_ax" to see if > we're continuing an interrupted system call and sign extend the error > code in the real "eax" register if we are. >
Well... this "if and only if" clause is false, although it might work specifically in this context. I need to do a writeup about this... I should try to do that today. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/