Changeset 12857dd in rtems


Ignore:
Timestamp:
Oct 24, 2002, 10:19:27 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
4dfda3b
Parents:
38ad163
Message:

2002-10-24 Fabrizio Pirovano <pirovano.thysys@…>

  • capture/capture.c, monitor/mon-manager.c, stackchk/check.c: Patch to remove problems introduced by object name rework.
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • c/src/libmisc/ChangeLog

    r38ad163 r12857dd  
     12002-10-24      Fabrizio Pirovano <pirovano.thysys@tiscalinet.it>
     2
     3        * capture/capture.c, monitor/mon-manager.c, stackchk/check.c:
     4        Patch to remove problems introduced by object name rework.
     5
    162002-10-21      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • c/src/libmisc/capture/capture.c

    r38ad163 r12857dd  
    319319  }
    320320
    321   rtems_capture_dup_name (&task->name, *((rtems_name*) new_task->Object.name));
     321  rtems_capture_dup_name (&task->name, ((rtems_name) new_task->Object.name));
    322322 
    323323  task->id               = new_task->Object.id;
  • c/src/libmisc/monitor/mon-manager.c

    r38ad163 r12857dd  
    4040        copy = (rtems_monitor_generic_t *) canonical;
    4141        copy->id = object->id;
    42         _Objects_Copy_name_raw(object->name, &copy->name, sizeof(copy->name));
    43     }   
    44    
     42                if(table->is_string)
     43            _Objects_Copy_name_raw(object->name, &copy->name, sizeof(copy->name));
     44        else
     45                _Objects_Copy_name_raw(&object->name, &copy->name, sizeof(copy->name));
     46        }
     47
    4548done:
    4649    return object;
  • c/src/libmisc/stackchk/check.c

    r38ad163 r12857dd  
    315315        running,
    316316        running->Object.id,
    317         *(unsigned32 *)running->Object.name
     317        (unsigned32)running->Object.name
    318318    );
    319319    fflush(stderr);
  • cpukit/libmisc/ChangeLog

    r38ad163 r12857dd  
     12002-10-24      Fabrizio Pirovano <pirovano.thysys@tiscalinet.it>
     2
     3        * capture/capture.c, monitor/mon-manager.c, stackchk/check.c:
     4        Patch to remove problems introduced by object name rework.
     5
    162002-10-21      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • cpukit/libmisc/capture/capture.c

    r38ad163 r12857dd  
    319319  }
    320320
    321   rtems_capture_dup_name (&task->name, *((rtems_name*) new_task->Object.name));
     321  rtems_capture_dup_name (&task->name, ((rtems_name) new_task->Object.name));
    322322 
    323323  task->id               = new_task->Object.id;
  • cpukit/libmisc/monitor/mon-manager.c

    r38ad163 r12857dd  
    4040        copy = (rtems_monitor_generic_t *) canonical;
    4141        copy->id = object->id;
    42         _Objects_Copy_name_raw(object->name, &copy->name, sizeof(copy->name));
    43     }   
    44    
     42                if(table->is_string)
     43            _Objects_Copy_name_raw(object->name, &copy->name, sizeof(copy->name));
     44        else
     45                _Objects_Copy_name_raw(&object->name, &copy->name, sizeof(copy->name));
     46        }
     47
    4548done:
    4649    return object;
  • cpukit/libmisc/stackchk/check.c

    r38ad163 r12857dd  
    315315        running,
    316316        running->Object.id,
    317         *(unsigned32 *)running->Object.name
     317        (unsigned32)running->Object.name
    318318    );
    319319    fflush(stderr);
Note: See TracChangeset for help on using the changeset viewer.