smart breakpoint ===========================================================================
| 1616 | // smart breakpoint |
| 1617 | //=========================================================================== |
| 1618 | Update_t CmdBreakpointAddSmart (int nArgs) |
| 1619 | { |
| 1620 | unsigned int nAddress = g_aArgs[1].nValue; |
| 1621 | |
| 1622 | if (! nArgs) |
| 1623 | { |
| 1624 | nArgs = 1; |
| 1625 | g_aArgs[ nArgs ].nValue = g_nDisasmCurAddress; |
| 1626 | } |
| 1627 | |
| 1628 | if ((nAddress >= APPLE_IO_BEGIN) && (nAddress <= APPLE_IO_END)) |
| 1629 | { |
| 1630 | return CmdBreakpointAddIO( nArgs ); |
| 1631 | } |
| 1632 | else |
| 1633 | { |
| 1634 | CmdBreakpointAddReg( nArgs ); |
| 1635 | CmdBreakpointAddMem( nArgs ); |
| 1636 | return UPDATE_BREAKPOINTS; |
| 1637 | } |
| 1638 | } |
| 1639 | |
| 1640 | |
| 1641 | //=========================================================================== |
nothing calls this directly
no test coverage detected