This is an automated email from Gerrit.

Marc Schink ([email protected]) just uploaded a new patch set to Gerrit, which you 
can find at http://openocd.zylin.com/6199

-- gerrit

commit bbcf59ca3ad454d1ab83e47188fedcf1d94393bf
Author: Marc Schink <[email protected]>
Date:   Fri Apr 30 10:51:35 2021 +0200

    target/riscv: Change 'authdata_read' output
    
    Use a constant output length and remove the line break to make the
    authentication data easier to parse.
    
    Change-Id: Iebbf1f171947ef89b0f360a2cb286a4ea15c6ba5
    Signed-off-by: Marc Schink <[email protected]>

diff --git a/src/target/riscv/riscv.c b/src/target/riscv/riscv.c
index c883b42..1e93ded 100644
--- a/src/target/riscv/riscv.c
+++ b/src/target/riscv/riscv.c
@@ -2372,7 +2372,7 @@ COMMAND_HANDLER(riscv_authdata_read)
                uint32_t value;
                if (r->authdata_read(target, &value) != ERROR_OK)
                        return ERROR_FAIL;
-               command_print(CMD, "0x%" PRIx32, value);
+               command_print_sameline(CMD, "0x%08" PRIx32, value);
                return ERROR_OK;
        } else {
                LOG_ERROR("authdata_read is not implemented for this target.");

-- 

Reply via email to