forked from Imagelibrary/rtems
2002-07-01 Joel Sherrill <joel@OARcorp.com>
* capture/capture-cli.c, cpuuse/cpuuse.c, monitor/mon-monitor.c, monitor/mon-object.c, monitor/monitor.h: Corrected use of _Objects_Information_table now that it is a two dimensional array based upon API and class. In addition, in the monitor, corrected an error which occured when a target has 64 bit pointers.
This commit is contained in:
@@ -573,7 +573,7 @@ rtems_capture_cli_get_name_id (char* arg,
|
||||
rtems_name* name,
|
||||
rtems_id* id)
|
||||
{
|
||||
Objects_Classes objclass;
|
||||
unsigned32 objclass;
|
||||
int l;
|
||||
int i;
|
||||
|
||||
@@ -597,11 +597,7 @@ rtems_capture_cli_get_name_id (char* arg,
|
||||
|
||||
objclass = _Objects_Get_class (*id);
|
||||
|
||||
if ((i == l) && (l > 4) &&
|
||||
((objclass == OBJECTS_INTERNAL_THREADS) ||
|
||||
(objclass == OBJECTS_RTEMS_TASKS) ||
|
||||
(objclass == OBJECTS_POSIX_THREADS) ||
|
||||
(objclass == OBJECTS_ITRON_TASKS)))
|
||||
if ((i == l))
|
||||
*valid_id = 1;
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user