Skip to content

Commit

Permalink
further optimization for mode when debugger is off
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Shwartsman committed Dec 29, 2023
1 parent afc46f4 commit 4e58c1c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bochs/bx_debug/dbg_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,9 @@ void bx_dbg_print_value(Bit8u *data, unsigned len)

void bx_dbg_lin_memory_access(unsigned cpu, bx_address lin, bx_phy_address phy, unsigned len, unsigned memtype, unsigned rw, Bit8u *data)
{
if (! bx_dbg.debugger_active)
return;

bx_dbg_check_memory_watchpoints(cpu, phy, len, rw);

if (! BX_CPU(cpu)->trace_mem)
Expand Down

0 comments on commit 4e58c1c

Please sign in to comment.