Skip to content

Commit 1dac85c

Browse files
committed
src/target/riscv: supress log when do debug step for 0.11 debug
Change-Id: I495ed57656ae896f98dda391f49f685fed48e504 Signed-off-by: Huaqi Fang <578567190@qq.com>
1 parent b97fce8 commit 1dac85c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/target/riscv/riscv-011.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1889,8 +1889,8 @@ static int handle_halt(struct target *target, bool announce)
18891889
/* This is logged to the user so that gdb will show it when a user types
18901890
* 'monitor reset init'. At that time gdb appears to have the pc cached
18911891
* still so if a user manually inspects the pc it will still have the old
1892-
* value. */
1893-
LOG_USER("halted at 0x%" PRIx64 " due to %s", info->dpc, cause_string[cause]);
1892+
* value. FIXME changed to LOG_DEBUG due to step will output a lot of message */
1893+
LOG_DEBUG("halted at 0x%" PRIx64 " due to %s", info->dpc, cause_string[cause]);
18941894

18951895
return ERROR_OK;
18961896
}

0 commit comments

Comments
 (0)