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:
Joel Sherrill
2002-10-24 22:19:27 +00:00
parent 38ad163054
commit 12857dda9a
8 changed files with 26 additions and 10 deletions

View File

@@ -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.

View File

@@ -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;

View File

@@ -39,7 +39,10 @@ rtems_monitor_manager_next(
{
copy = (rtems_monitor_generic_t *) canonical;
copy->id = object->id;
if(table->is_string)
_Objects_Copy_name_raw(object->name, &copy->name, sizeof(copy->name));
else
_Objects_Copy_name_raw(&object->name, &copy->name, sizeof(copy->name));
}
done:

View File

@@ -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);

View File

@@ -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.

View File

@@ -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;

View File

@@ -39,7 +39,10 @@ rtems_monitor_manager_next(
{
copy = (rtems_monitor_generic_t *) canonical;
copy->id = object->id;
if(table->is_string)
_Objects_Copy_name_raw(object->name, &copy->name, sizeof(copy->name));
else
_Objects_Copy_name_raw(&object->name, &copy->name, sizeof(copy->name));
}
done:

View File

@@ -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);