From 40e0c5b9760c2bd5540620835ba34cff66dd660a Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Mon, 19 Mar 2018 12:46:10 -0700 Subject: [PATCH] Format error messages. Change-Id: I50c21319765e1ead279223466ed02a06ecf6a522 --- src/target/riscv/riscv-013.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c index 19493a9ed..aed485042 100644 --- a/src/target/riscv/riscv-013.c +++ b/src/target/riscv/riscv-013.c @@ -2563,12 +2563,12 @@ static bool riscv013_is_halted(struct target *target) if (dmstatus_read(target, &dmstatus, true) != ERROR_OK) return false; if (get_field(dmstatus, DMI_DMSTATUS_ANYUNAVAIL)) - LOG_ERROR("hart %d is unavailable", riscv_current_hartid(target)); + LOG_ERROR("Hart %d is unavailable.", riscv_current_hartid(target)); if (get_field(dmstatus, DMI_DMSTATUS_ANYNONEXISTENT)) - LOG_ERROR("hart %d doesn't exist", riscv_current_hartid(target)); + LOG_ERROR("Hart %d doesn't exist.", riscv_current_hartid(target)); if (get_field(dmstatus, DMI_DMSTATUS_ANYHAVERESET)) { int hartid = riscv_current_hartid(target); - LOG_INFO("hart %d unexpectedly reset!", hartid); + LOG_INFO("Hart %d unexpectedly reset!", hartid); /* TODO: Can we make this more obvious to eg. a gdb user? */ dmi_write(target, DMI_DMCONTROL, set_field(DMI_DMCONTROL_DMACTIVE | DMI_DMCONTROL_ACKHAVERESET,