Browse Source

Remove noisy debugs.

This version was able to download code, and run to a breakpoint.
pull/94/head
Tim Newsome 9 years ago
parent
commit
8c19757cf5
  1. 5
      riscv/debug_module.cc

5
riscv/debug_module.cc

@ -22,9 +22,6 @@ debug_module_data_t::debug_module_data_t()
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;
@ -111,8 +108,6 @@ void debug_module_t::add_device(bus_t *bus) {
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 &&

Loading…
Cancel
Save