- in rev 1.24 I broke the compile, because I was missing BX_CPU_THIS_PTR
before "mem". This is fixed now.
This commit is contained in:
parent
13d1113b36
commit
357cf9845f
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: debugstuff.cc,v 1.25 2002-10-25 11:44:34 bdenney Exp $
|
||||
// $Id: debugstuff.cc,v 1.26 2002-10-25 11:54:42 bdenney Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||
@ -154,7 +154,7 @@ BX_CPU_C::debug(Bit32u offset)
|
||||
|
||||
dbg_xlate_linear2phy(BX_CPU_THIS_PTR sregs[BX_SEG_REG_CS].cache.u.segment.base + offset,
|
||||
&phy_addr, &valid);
|
||||
if (valid && mem!=NULL) {
|
||||
if (valid && BX_CPU_THIS_PTR mem!=NULL) {
|
||||
BX_CPU_THIS_PTR mem->dbg_fetch_mem(phy_addr, 16, instr_buf);
|
||||
isize = bx_disassemble.disasm(
|
||||
BX_CPU_THIS_PTR sregs[BX_SEG_REG_CS].cache.u.segment.d_b,
|
||||
|
Loading…
Reference in New Issue
Block a user