mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 11:26:12 +08:00
arch/risc-v: Fix typo in riscv_assert.c
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
3c15ae23cf
commit
7c93e96908
@@ -82,7 +82,7 @@ static void riscv_stackdump(uintptr_t sp, uintptr_t stack_top)
|
|||||||
for (stack = sp & ~0x1f; stack < (stack_top & ~0x1f); stack += 32)
|
for (stack = sp & ~0x1f; stack < (stack_top & ~0x1f); stack += 32)
|
||||||
{
|
{
|
||||||
uint32_t *ptr = (uint32_t *)stack;
|
uint32_t *ptr = (uint32_t *)stack;
|
||||||
_alert(PRIxREG ": %08" PRIx32 " %08" PRIx32 " %08" PRIx32
|
_alert("%" PRIxREG ": %08" PRIx32 " %08" PRIx32 " %08" PRIx32
|
||||||
" %08" PRIx32 " %08" PRIx32 " %08" PRIx32 " %08" PRIx32
|
" %08" PRIx32 " %08" PRIx32 " %08" PRIx32 " %08" PRIx32
|
||||||
" %08" PRIx32 "\n",
|
" %08" PRIx32 "\n",
|
||||||
stack, ptr[0], ptr[1], ptr[2], ptr[3],
|
stack, ptr[0], ptr[1], ptr[2], ptr[3],
|
||||||
|
|||||||
Reference in New Issue
Block a user