fix backtrace display on qemu

Error message was overide by the backtrace
This commit is contained in:
Mathieu Maret 2018-06-28 01:40:53 +02:00
parent 22e5c79c5c
commit 1a6e1522bd

View File

@ -685,7 +685,7 @@ void sos_thread_dump_backtrace(sos_bool_t on_console,
(unsigned)*arg3); (unsigned)*arg3);
if (on_console) if (on_console)
sos_x86_videomem_printf(23-depth, 3, sos_x86_videomem_printf(22-depth, 3,
SOS_X86_VIDEO_BG_BLUE SOS_X86_VIDEO_BG_BLUE
| SOS_X86_VIDEO_FG_LTGREEN, | SOS_X86_VIDEO_FG_LTGREEN,
"[%d] PC=0x%x arg1=0x%x arg2=0x%x arg3=0x%x arg4=0x%x", "[%d] PC=0x%x arg1=0x%x arg2=0x%x arg3=0x%x arg4=0x%x",