target/i386: implement DR7.GD
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 29 May 2024 11:18:56 +0000 (13:18 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 8 Jun 2024 08:33:38 +0000 (10:33 +0200)
commit57f8dbdbe94a502301f51809e8b282b02df43370
treea02f1bc3f03e72d5d12f4669fe200a0955ef7922
parent330e6adc1acd2a235a96b502b3dd15ba6e77c228
target/i386: implement DR7.GD

DR7.GD triggers a #DB exception on any access to debug registers.
The GD bit is cleared so that the #DB handler itself can access
the debug registers.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/sysemu/bpt_helper.c