Save/restore registers to host during memory operations. Cache ROM data.
authorKeith Packard <keithp@keithp.com>
Wed, 31 Dec 2008 06:35:53 +0000 (22:35 -0800)
committerKeith Packard <keithp@keithp.com>
Wed, 31 Dec 2008 06:38:35 +0000 (22:38 -0800)
Because the debug port uses instructions for most operations, the debug code
will clobber registers used by the running program. Save and restore these
to avoid corrupting application data.

If the ROM file is known, use that to return data instead of fetching it
from the target to improve performance.

Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found