thermopshere: GDB_ParseExceptionFrame: fix format error

This commit is contained in:
TuxSH 2020-02-01 19:39:31 +00:00
parent 256201922b
commit 3fe7c7537e

View file

@ -81,7 +81,7 @@ static int GDB_ParseExceptionFrame(char *out, const DebugEventInfo *info, int si
n += sprintf( n += sprintf(
out + n, out + n,
"1f:%016lx;20:%016lx;21:%08x", "1f:%016lx;20:%016lx;21:%08x;",
__builtin_bswap64(*exceptionGetSpPtr(frame)), __builtin_bswap64(*exceptionGetSpPtr(frame)),
__builtin_bswap64(frame->elr_el2), __builtin_bswap64(frame->elr_el2),
__builtin_bswap32((u32)frame->spsr_el2) __builtin_bswap32((u32)frame->spsr_el2)