forked from Imagelibrary/rtems
2002-10-24 Fabrizio Pirovano <pirovano.thysys@tiscalinet.it>
* capture/capture.c, monitor/mon-manager.c, stackchk/check.c: Patch to remove problems introduced by object name rework.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2002-10-24 Fabrizio Pirovano <pirovano.thysys@tiscalinet.it>
|
||||
|
||||
* capture/capture.c, monitor/mon-manager.c, stackchk/check.c:
|
||||
Patch to remove problems introduced by object name rework.
|
||||
|
||||
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* .cvsignore: Reformat.
|
||||
|
||||
@@ -318,7 +318,7 @@ rtems_capture_create_capture_task (rtems_tcb* new_task)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
rtems_capture_dup_name (&task->name, *((rtems_name*) new_task->Object.name));
|
||||
rtems_capture_dup_name (&task->name, ((rtems_name) new_task->Object.name));
|
||||
|
||||
task->id = new_task->Object.id;
|
||||
task->flags = 0;
|
||||
|
||||
@@ -39,9 +39,12 @@ rtems_monitor_manager_next(
|
||||
{
|
||||
copy = (rtems_monitor_generic_t *) canonical;
|
||||
copy->id = object->id;
|
||||
_Objects_Copy_name_raw(object->name, ©->name, sizeof(copy->name));
|
||||
}
|
||||
|
||||
if(table->is_string)
|
||||
_Objects_Copy_name_raw(object->name, ©->name, sizeof(copy->name));
|
||||
else
|
||||
_Objects_Copy_name_raw(&object->name, ©->name, sizeof(copy->name));
|
||||
}
|
||||
|
||||
done:
|
||||
return object;
|
||||
}
|
||||
|
||||
@@ -314,7 +314,7 @@ void Stack_check_report_blown_task(void)
|
||||
"BLOWN STACK!!! Offending task(%p): id=0x%08x; name=0x%08x",
|
||||
running,
|
||||
running->Object.id,
|
||||
*(unsigned32 *)running->Object.name
|
||||
(unsigned32)running->Object.name
|
||||
);
|
||||
fflush(stderr);
|
||||
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2002-10-24 Fabrizio Pirovano <pirovano.thysys@tiscalinet.it>
|
||||
|
||||
* capture/capture.c, monitor/mon-manager.c, stackchk/check.c:
|
||||
Patch to remove problems introduced by object name rework.
|
||||
|
||||
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* .cvsignore: Reformat.
|
||||
|
||||
@@ -318,7 +318,7 @@ rtems_capture_create_capture_task (rtems_tcb* new_task)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
rtems_capture_dup_name (&task->name, *((rtems_name*) new_task->Object.name));
|
||||
rtems_capture_dup_name (&task->name, ((rtems_name) new_task->Object.name));
|
||||
|
||||
task->id = new_task->Object.id;
|
||||
task->flags = 0;
|
||||
|
||||
@@ -39,9 +39,12 @@ rtems_monitor_manager_next(
|
||||
{
|
||||
copy = (rtems_monitor_generic_t *) canonical;
|
||||
copy->id = object->id;
|
||||
_Objects_Copy_name_raw(object->name, ©->name, sizeof(copy->name));
|
||||
}
|
||||
|
||||
if(table->is_string)
|
||||
_Objects_Copy_name_raw(object->name, ©->name, sizeof(copy->name));
|
||||
else
|
||||
_Objects_Copy_name_raw(&object->name, ©->name, sizeof(copy->name));
|
||||
}
|
||||
|
||||
done:
|
||||
return object;
|
||||
}
|
||||
|
||||
@@ -314,7 +314,7 @@ void Stack_check_report_blown_task(void)
|
||||
"BLOWN STACK!!! Offending task(%p): id=0x%08x; name=0x%08x",
|
||||
running,
|
||||
running->Object.id,
|
||||
*(unsigned32 *)running->Object.name
|
||||
(unsigned32)running->Object.name
|
||||
);
|
||||
fflush(stderr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user