Re: [patch] 2.4.0-test2: %cr4 in a register dump

From: Brian Gerst (bgerst@quark.vpplus.com)
Date: Wed Jul 05 2000 - 15:50:48 EST


Linus Torvalds wrote:
> If I remember correctly, there are CPU's out there that will bomb out
> horribly when you access %cr4 if the register doesn't exist.
>
> Do I remember wrong?
>
> I'd certainly agree with printing out cr4 even if it would be zero, I just
> disagree very much with adding a register read to the dump output that may
> cause an infinite regression of traps..
>
> Linus

How about just trapping the illegal opcode exception then? (patch
untested)

--

Brian Gerst


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



This archive was generated by hypermail 2b29 : Fri Jul 07 2000 - 21:00:17 EST