Skip to content

Commit

Permalink
src/target/riscv: supress log when do debug step for 0.11 debug
Browse files Browse the repository at this point in the history
Change-Id: I495ed57656ae896f98dda391f49f685fed48e504
Signed-off-by: Huaqi Fang <[email protected]>
  • Loading branch information
fanghuaqi committed Jun 25, 2024
1 parent b97fce8 commit 1dac85c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/target/riscv/riscv-011.c
Original file line number Diff line number Diff line change
Expand Up @@ -1889,8 +1889,8 @@ static int handle_halt(struct target *target, bool announce)
/* This is logged to the user so that gdb will show it when a user types
* 'monitor reset init'. At that time gdb appears to have the pc cached
* still so if a user manually inspects the pc it will still have the old
* value. */
LOG_USER("halted at 0x%" PRIx64 " due to %s", info->dpc, cause_string[cause]);
* value. FIXME changed to LOG_DEBUG due to step will output a lot of message */
LOG_DEBUG("halted at 0x%" PRIx64 " due to %s", info->dpc, cause_string[cause]);

return ERROR_OK;
}
Expand Down

0 comments on commit 1dac85c

Please sign in to comment.