bool debug_module_data_t::load(reg_t addr, size_t len, uint8_t* bytes)
{
- D(fprintf(stderr, "debug_module_data_t load 0x%lx bytes at 0x%lx\n", len,
- addr));
-
if (addr + len < sizeof(data)) {
memcpy(bytes, data + addr, len);
return true;
bool debug_module_t::load(reg_t addr, size_t len, uint8_t* bytes)
{
- D(fprintf(stderr, "debug_module_t load 0x%lx bytes at 0x%lx\n",
- len, addr));
addr = DEBUG_START + addr;
if (addr >= DEBUG_ROM_ENTRY &&