forked from Imagelibrary/rtems
Modified references to task name.
This commit is contained in:
@@ -250,7 +250,8 @@ void Stack_check_report_blown_task(void)
|
|||||||
"BLOWN STACK!!! Offending task(%p): id=0x%08x; name=0x%08x",
|
"BLOWN STACK!!! Offending task(%p): id=0x%08x; name=0x%08x",
|
||||||
running,
|
running,
|
||||||
running->Object.id,
|
running->Object.id,
|
||||||
running->name);
|
*running->Object.name
|
||||||
|
);
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
|
|
||||||
if (BSP_Configuration.User_multiprocessing_table)
|
if (BSP_Configuration.User_multiprocessing_table)
|
||||||
@@ -386,7 +387,7 @@ void Stack_check_Dump_threads_usage(
|
|||||||
|
|
||||||
printf( "0x%08x 0x%08x 0x%08x 0x%08x %8d %8d\n",
|
printf( "0x%08x 0x%08x 0x%08x 0x%08x %8d %8d\n",
|
||||||
the_thread ? the_thread->Object.id : ~0,
|
the_thread ? the_thread->Object.id : ~0,
|
||||||
the_thread ? the_thread->name :
|
the_thread ? *the_thread->Object.name :
|
||||||
rtems_build_name('I', 'N', 'T', 'R'),
|
rtems_build_name('I', 'N', 'T', 'R'),
|
||||||
(unsigned32) stack->area,
|
(unsigned32) stack->area,
|
||||||
(unsigned32) stack->area + (unsigned32) stack->size - 1,
|
(unsigned32) stack->area + (unsigned32) stack->size - 1,
|
||||||
|
|||||||
@@ -250,7 +250,8 @@ void Stack_check_report_blown_task(void)
|
|||||||
"BLOWN STACK!!! Offending task(%p): id=0x%08x; name=0x%08x",
|
"BLOWN STACK!!! Offending task(%p): id=0x%08x; name=0x%08x",
|
||||||
running,
|
running,
|
||||||
running->Object.id,
|
running->Object.id,
|
||||||
running->name);
|
*running->Object.name
|
||||||
|
);
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
|
|
||||||
if (BSP_Configuration.User_multiprocessing_table)
|
if (BSP_Configuration.User_multiprocessing_table)
|
||||||
@@ -386,7 +387,7 @@ void Stack_check_Dump_threads_usage(
|
|||||||
|
|
||||||
printf( "0x%08x 0x%08x 0x%08x 0x%08x %8d %8d\n",
|
printf( "0x%08x 0x%08x 0x%08x 0x%08x %8d %8d\n",
|
||||||
the_thread ? the_thread->Object.id : ~0,
|
the_thread ? the_thread->Object.id : ~0,
|
||||||
the_thread ? the_thread->name :
|
the_thread ? *the_thread->Object.name :
|
||||||
rtems_build_name('I', 'N', 'T', 'R'),
|
rtems_build_name('I', 'N', 'T', 'R'),
|
||||||
(unsigned32) stack->area,
|
(unsigned32) stack->area,
|
||||||
(unsigned32) stack->area + (unsigned32) stack->size - 1,
|
(unsigned32) stack->area + (unsigned32) stack->size - 1,
|
||||||
|
|||||||
@@ -250,7 +250,8 @@ void Stack_check_report_blown_task(void)
|
|||||||
"BLOWN STACK!!! Offending task(%p): id=0x%08x; name=0x%08x",
|
"BLOWN STACK!!! Offending task(%p): id=0x%08x; name=0x%08x",
|
||||||
running,
|
running,
|
||||||
running->Object.id,
|
running->Object.id,
|
||||||
running->name);
|
*running->Object.name
|
||||||
|
);
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
|
|
||||||
if (BSP_Configuration.User_multiprocessing_table)
|
if (BSP_Configuration.User_multiprocessing_table)
|
||||||
@@ -386,7 +387,7 @@ void Stack_check_Dump_threads_usage(
|
|||||||
|
|
||||||
printf( "0x%08x 0x%08x 0x%08x 0x%08x %8d %8d\n",
|
printf( "0x%08x 0x%08x 0x%08x 0x%08x %8d %8d\n",
|
||||||
the_thread ? the_thread->Object.id : ~0,
|
the_thread ? the_thread->Object.id : ~0,
|
||||||
the_thread ? the_thread->name :
|
the_thread ? *the_thread->Object.name :
|
||||||
rtems_build_name('I', 'N', 'T', 'R'),
|
rtems_build_name('I', 'N', 'T', 'R'),
|
||||||
(unsigned32) stack->area,
|
(unsigned32) stack->area,
|
||||||
(unsigned32) stack->area + (unsigned32) stack->size - 1,
|
(unsigned32) stack->area + (unsigned32) stack->size - 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user