From 11290355c9454c575d56c7928a725fd95e88d6f8 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 29 Sep 1995 17:19:16 +0000 Subject: all targets compile .. tony's patches in place --- c/src/lib/libmisc/monitor/mon-symbols.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'c/src/lib/libmisc/monitor/mon-symbols.c') diff --git a/c/src/lib/libmisc/monitor/mon-symbols.c b/c/src/lib/libmisc/monitor/mon-symbols.c index f0e3ed3bc2..9cbd76d280 100644 --- a/c/src/lib/libmisc/monitor/mon-symbols.c +++ b/c/src/lib/libmisc/monitor/mon-symbols.c @@ -184,7 +184,7 @@ rtems_symbol_string_compare(const void *e1, void rtems_symbol_sort(rtems_symbol_table_t *table) { -#ifdef simhppa +#ifdef RTEMS_ON_SIMULATOR printf("Sorting symbols ... "); /* so slow we need a msg */ fflush(stdout); #endif @@ -195,7 +195,7 @@ rtems_symbol_sort(rtems_symbol_table_t *table) qsort((void *) table->symbols, (size_t) table->next, sizeof(rtems_symbol_t), rtems_symbol_string_compare); -#ifdef simhppa +#ifdef RTEMS_ON_SIMULATOR /* so slow we need a msg */ printf("done\n"); #endif @@ -401,11 +401,11 @@ rtems_monitor_symbol_dump( { if (canonical_symbol->offset == 0) length += printf("%.*s", - sizeof(canonical_symbol->name), + (int) sizeof(canonical_symbol->name), canonical_symbol->name); else length += printf("<%.*s+0x%x>", - sizeof(canonical_symbol->name), + (int) sizeof(canonical_symbol->name), canonical_symbol->name, canonical_symbol->offset); if (verbose) -- cgit v1.2.3