about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--010---vm.cc2
-rw-r--r--039debug.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/010---vm.cc b/010---vm.cc
index 56ff5cf5..6675cab9 100644
--- a/010---vm.cc
+++ b/010---vm.cc
@@ -334,7 +334,7 @@ inline uint8_t next() {
 
 void dump_registers() {
   ostringstream out;
-  out << "registers before: ";
+  out << "regs: ";
   for (int i = 0;  i < NUM_INT_REGISTERS;  ++i) {
     if (i > 0) out << "  ";
     out << i << ": " << std::hex << std::setw(8) << std::setfill('_') << Reg[i].u;
diff --git a/039debug.cc b/039debug.cc
index b308a7d4..e3dd8073 100644
--- a/039debug.cc
+++ b/039debug.cc
@@ -39,10 +39,10 @@ void load_source_lines() {
 if (contains_key(Symbol_name, EIP))
   trace(Callstack_depth, "run") << "== label " << get(Symbol_name, EIP) << end();
 if (contains_key(Source_line, EIP))
-  trace(Callstack_depth, "run") << "0x" << HEXWORD << EIP << ": " << get(Source_line, EIP) << end();
+  trace(Callstack_depth, "run") << "inst: " << get(Source_line, EIP) << end();
 else
   // no source line info; do what you can
-  trace(Callstack_depth, "run") << "0x" << HEXWORD << EIP << ": " << debug_info(EIP) << end();
+  trace(Callstack_depth, "run") << "inst: " << debug_info(EIP) << end();
 
 :(code)
 string debug_info(uint32_t inst_address) {