mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-21 00:27:19 +08:00
fix: 修复arm926异常时打印栈名乱码
This commit is contained in:
parent
d1daf06619
commit
e2368bf7f3
@ -140,7 +140,7 @@ void rt_hw_trap_pabt(struct rt_hw_register *regs)
|
|||||||
rt_hw_show_register(regs);
|
rt_hw_show_register(regs);
|
||||||
|
|
||||||
rt_kprintf("prefetch abort\n");
|
rt_kprintf("prefetch abort\n");
|
||||||
rt_kprintf("thread - %s stack:\n", RT_NAME_MAX, rt_current_thread->name);
|
rt_kprintf("thread - %.*s stack:\n", RT_NAME_MAX, rt_current_thread->name);
|
||||||
|
|
||||||
#if defined(RT_USING_FINSH) && defined(MSH_USING_BUILT_IN_COMMANDS)
|
#if defined(RT_USING_FINSH) && defined(MSH_USING_BUILT_IN_COMMANDS)
|
||||||
list_thread();
|
list_thread();
|
||||||
@ -168,7 +168,7 @@ void rt_hw_trap_dabt(struct rt_hw_register *regs)
|
|||||||
rt_hw_show_register(regs);
|
rt_hw_show_register(regs);
|
||||||
|
|
||||||
rt_kprintf("data abort\n");
|
rt_kprintf("data abort\n");
|
||||||
rt_kprintf("thread - %s stack:\n", RT_NAME_MAX, rt_current_thread->name);
|
rt_kprintf("thread - %.*s stack:\n", RT_NAME_MAX, rt_current_thread->name);
|
||||||
|
|
||||||
#if defined(RT_USING_FINSH) && defined(MSH_USING_BUILT_IN_COMMANDS)
|
#if defined(RT_USING_FINSH) && defined(MSH_USING_BUILT_IN_COMMANDS)
|
||||||
list_thread();
|
list_thread();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user