Skip to content

Commit

Permalink
no point in building traces if not allowed to execute them
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Shwartsman authored and stlintel committed Mar 12, 2024
1 parent ff3a7b3 commit 00ef96b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bochs/cpu/icache.cc
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ bxICacheEntry_c* BX_CPU_C::serveICacheMiss(Bit32u eipBiased, bx_phy_address pAdd
(BX_SMP_PROCESSORS > 1) ? SIM->get_param_num(BXPN_SMP_QUANTUM)->get() :
#endif
BX_MAX_TRACE_LENGTH;
if (bx_dbg.debugger_active)
quantum = 1;

for (unsigned n=0;n < quantum;n++)
{
Expand Down

0 comments on commit 00ef96b

Please sign in to comment.