compilation err fix

This commit is contained in:
Stanislav Shwartsman 2010-02-14 15:17:14 +00:00
parent bc7f9d4ced
commit 440f9e0217
2 changed files with 5 additions and 2 deletions

View File

@ -34,7 +34,8 @@ Changes after 2.4.2:
[2908481] USB Printer by Ben Lunt
- these S.F. bugs were closed/fixed
[2374455] shtudown/reset type 05 should reinit the PICs
[2938398] gdbstub compile error with x86_64 enabled
[2374455] shutdown/reset type 05 should reinit the PICs
[1921294] extended memory less than 1M wrong size
[1947249] BX_USE_EBDA_TABLES and MP table placement
[1933859] BX_USE_EBDA_TABLES and memory overlapping

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: gdbstub.cc,v 1.41 2010-01-02 22:36:20 sshwarts Exp $
// $Id: gdbstub.cc,v 1.42 2010-02-14 15:17:14 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2002-2006 The Bochs Project Team
@ -693,6 +693,7 @@ static void debug_loop(void)
}
case 'g':
{
#if BX_SUPPORT_X86_64 == 0
WriteHostDWordToLittleEndian(registers + 0, EAX);
WriteHostDWordToLittleEndian(registers + 1, ECX);
@ -764,6 +765,7 @@ static void debug_loop(void)
#endif
put_reply(obuf);
break;
}
case '?':
sprintf(obuf, "S%02x", SIGTRAP);