Messages in this thread | | | Date | Wed, 05 Jul 2000 16:50:48 -0400 | From | Brian Gerst <> | Subject | Re: [patch] 2.4.0-test2: %cr4 in a register dump |
| |
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[unhandled content-type:application/x-unknown-content-type-diff_auto_file] | |