| 1445 | } |
| 1446 | |
| 1447 | void MainWindow::watchUpdate() { |
| 1448 | |
| 1449 | // this is needed in the case of overlapping address spaces |
| 1450 | for (int row = 0; row < m_watchpoints->rowCount(); row++) { |
| 1451 | if (m_watchpoints->item(row, WATCH_LOW_COL)->text() != DEBUG_UNSET_ADDR && |
| 1452 | m_watchpoints->item(row, WATCH_HIGH_COL)->text() != DEBUG_UNSET_ADDR) { |
| 1453 | uint32_t low = static_cast<uint32_t>(hex2int(m_watchpoints->item(row, WATCH_LOW_COL)->text())); |
| 1454 | uint32_t high = static_cast<uint32_t>(hex2int(m_watchpoints->item(row, WATCH_HIGH_COL)->text())); |
| 1455 | int mask = watchGetMask(row); |
| 1456 | |
| 1457 | for (uint32_t addr = low; addr <= high; addr++) { |
| 1458 | debug_watch(addr, mask, true); |
| 1459 | } |
| 1460 | } |
| 1461 | } |
| 1462 | |
| 1463 | if (!m_guiAdd && !m_useSoftCom) { |
| 1464 | disasmUpdate(); |
| 1465 | memUpdate(); |
| 1466 | } |
| 1467 | } |
| 1468 | |
| 1469 | void MainWindow::watchUpdateRow(int row) { |
| 1470 |
nothing calls this directly
no test coverage detected