Fixed max watchpoints hardcoded value
This commit is contained in:
parent
981c2e595d
commit
5894f106a9
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: enh_dbg.cc,v 1.13 2009-04-03 17:36:24 sshwarts Exp $
|
||||
// $Id: enh_dbg.cc,v 1.14 2009-04-03 17:45:01 sshwarts Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// BOCHS ENHANCED DEBUGGER Ver 1.2
|
||||
@ -2686,7 +2686,7 @@ void SetWatchpoint(unsigned * num_watchpoints, bx_phy_address * watchpoint)
|
||||
else
|
||||
{
|
||||
// Set a watchpoint to last clicked address -- the list is not sorted
|
||||
if (*num_watchpoints >= 16)
|
||||
if (*num_watchpoints >= BX_DBG_MAX_WATCHPONTS)
|
||||
DispMessage ("Too many of that type of watchpoint. Max: 16",
|
||||
"Table Overflow") ;
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user