From 8c19757cf59d6f10fa5c79edf856ad2c79f92cc8 Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Thu, 16 Feb 2017 14:15:44 -0800 Subject: [PATCH] Remove noisy debugs. This version was able to download code, and run to a breakpoint. --- riscv/debug_module.cc | 5 ----- 1 file changed, 5 deletions(-) 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 && -- 2.30.2