debug: Move things around, but addresses now conflict with ROM.
[riscv-isa-sim.git] / riscv / processor.h
index 4d94d5b42a9a181886c4a520fead3cd0edf67a97..ea9cb7bab59efc0c598543f0ec290972ebb5d0d1 100644 (file)
@@ -196,6 +196,7 @@ public:
   // The unique debug rom address that this hart jumps to when entering debug
   // mode. Rely on the fact that spike hart IDs start at 0 and are consecutive.
   uint32_t debug_rom_entry() {
+    fprintf(stderr, "Debug_rom_entry called for id %d = %x\n", id, DEBUG_ROM_ENTRY + 4*id);
     return DEBUG_ROM_ENTRY + 4 * id;
   }