From 6e683570513d1ac37ebc5f82bcdab08ad7c625fe Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Sat, 13 Jul 2013 13:46:54 -0400 Subject: [PATCH] misc fixes --- bin/debugger.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/debugger.cpp b/bin/debugger.cpp index 608eb54..91016aa 100644 --- a/bin/debugger.cpp +++ b/bin/debugger.cpp @@ -127,10 +127,12 @@ namespace { } printf("%s\n", s.c_str()); } + // could also be in the form 0x80 \p string. } + // TODO -- state indicator for code/data uint32_t disasm(uint32_t pc, uint16_t *op = nullptr) { @@ -435,6 +437,8 @@ void Print(uint32_t data) break; } + // TODO -- print as binary + printf("\n"); @@ -601,6 +605,7 @@ void Break(int32_t address) remove = true; } + // what was I thinking? only allow 24-bit addresses? if ((address & 0xff000000) == 0) { if (remove) brkMap.remove(address); @@ -635,7 +640,7 @@ void Break() for (auto address : v) { - printf("$%08x", address); + printf("$%08x\n", address); } }