From: Tim Newsome Date: Thu, 16 Feb 2017 22:15:44 +0000 (-0800) Subject: Remove noisy debugs. X-Git-Url: https://git.libre-soc.org/?p=riscv-isa-sim.git;a=commitdiff_plain;h=8c19757cf59d6f10fa5c79edf856ad2c79f92cc8 Remove noisy debugs. This version was able to download code, and run to a breakpoint. --- diff --git a/riscv/debug_module.cc b/riscv/debug_module.cc index af71974..5298b33 100644 --- a/riscv/debug_module.cc +++ b/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 &&