RE: [patch] x86: ptrace and core-dump extensions for xstate

From: Lu, Hongjiu
Date: Wed Feb 03 2010 - 21:23:11 EST


> > That is how processor works.
>
> We're not talking about the processor.
> We're talking about the API of a Linux system call.
>
>

To support XSAVE, gdb needs to know XCR0 as well as XSTATE size.
We can get those info from kernel via system call or cpuid. I
prefer cpuid over system call.


H.J.
--
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/