FIxed #DB exception in 64-bit mode
This commit is contained in:
parent
21e2692997
commit
aeaf51d33a
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: proc_ctrl.cc,v 1.283 2009-02-04 16:05:47 sshwarts Exp $
|
||||
// $Id: proc_ctrl.cc,v 1.284 2009-02-06 15:25:57 sshwarts Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||
@ -521,6 +521,11 @@ void BX_CPP_AttrRegparmN(1) BX_CPU_C::MOV_DqRq(bxInstruction_c *i)
|
||||
// Pentium+: bits15,14,12 are hardwired to 0, rest are settable.
|
||||
// Even bits 11,10 are changeable though reserved.
|
||||
BX_CPU_THIS_PTR dr7 = (val_64 & 0xffff2fff) | 0x00000400;
|
||||
|
||||
// if we have breakpoints enabled then we must check
|
||||
// breakpoints condition in cpu loop
|
||||
if(BX_CPU_THIS_PTR dr7 & 0xff)
|
||||
BX_CPU_THIS_PTR async_event = 1;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user