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:
Joel Sherrill
2002-07-01 22:19:33 +00:00
parent ee13a74e4c
commit 63977bb4d3
12 changed files with 116 additions and 82 deletions

View File

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