- fixed compilation error with wx debugger enabled

This commit is contained in:
Volker Ruppert 2008-01-31 21:44:28 +00:00
parent 4bcc331773
commit 885fd16565

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: init.cc,v 1.149 2008-01-29 22:29:48 sshwarts Exp $
// $Id: init.cc,v 1.150 2008-01-31 21:44:28 vruppert Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001 MandrakeSoft S.A.
@ -226,11 +226,9 @@ void BX_CPU_C::register_wx_state(void)
param->set_format(fmt16);
#define DEFPARAM_GLOBAL_SEG_REG(name,field) \
param = new bx_shadow_num_c(list, \
#name"_base", \
& BX_CPU_THIS_PTR field.base); \
#name"_base", &(field.base)); \
param = new bx_shadow_num_c(list, \
#name"_limit", \
& BX_CPU_THIS_PTR field.limit);
#name"_limit", &(field.limit));
DEFPARAM_SEG_REG(CS);
DEFPARAM_SEG_REG(DS);