fixed a formatting problem for debug output for external debugger.
This commit is contained in:
parent
9078c5fc06
commit
562d6b55dd
@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////
|
||||||
// $Id: exception.cc,v 1.23 2002-10-01 04:13:12 ptrumpet Exp $
|
// $Id: exception.cc,v 1.24 2002-10-01 07:13:00 ptrumpet Exp $
|
||||||
/////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||||
@ -814,7 +814,11 @@ BX_CPU_C::exception(unsigned vector, Bit16u error_code, Boolean is_INT)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if BX_EXTERNAL_DEBUGGER
|
#if BX_EXTERNAL_DEBUGGER
|
||||||
|
#if BX_SUPPORT_X86_64
|
||||||
printf ("Exception(%u) code=%08x @%08x%08x\n", vector, error_code,(Bit32u)(BX_CPU_THIS_PTR prev_eip >>32),(Bit32u)(BX_CPU_THIS_PTR prev_eip));
|
printf ("Exception(%u) code=%08x @%08x%08x\n", vector, error_code,(Bit32u)(BX_CPU_THIS_PTR prev_eip >>32),(Bit32u)(BX_CPU_THIS_PTR prev_eip));
|
||||||
|
#else
|
||||||
|
printf ("Exception(%u) code=%08x @%08x\n", vector, error_code,(Bit32u)(BX_CPU_THIS_PTR prev_eip));
|
||||||
|
#endif
|
||||||
//trap_debugger(1);
|
//trap_debugger(1);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user