Changeset 192259f in rtems


Ignore:
Timestamp:
Apr 9, 1997, 8:04:36 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
3fc076d
Parents:
48e34595
Message:

enhanced printf statements

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/src/heap.c

    r48e34595 r192259f  
    500500        error = 1;
    501501        printf("PASS: %d  Front and back flags don't match\n", source);
    502         printf("         Current Block:  Back - %d,  Front - %d",
    503                the_block->back_flag, the_block->front_flag);
     502        printf("         Current Block (%p):  Back - %d,  Front - %d",
     503               the_block, the_block->back_flag, the_block->front_flag);
    504504        if (do_dump == TRUE) {
    505505          if (_Heap_Is_block_free(the_block)) {
     
    512512          printf("\n");
    513513        }
    514         printf("         Next Block:     Back - %d,  Front - %d",
    515                next_block->back_flag, next_block->front_flag);
     514        printf("         Next Block (%p):     Back - %d,  Front - %d",
     515               next_block, next_block->back_flag, next_block->front_flag);
    516516        if (do_dump == TRUE) {
    517517          if (_Heap_Is_block_free(next_block)) {
  • cpukit/score/src/heap.c

    r48e34595 r192259f  
    500500        error = 1;
    501501        printf("PASS: %d  Front and back flags don't match\n", source);
    502         printf("         Current Block:  Back - %d,  Front - %d",
    503                the_block->back_flag, the_block->front_flag);
     502        printf("         Current Block (%p):  Back - %d,  Front - %d",
     503               the_block, the_block->back_flag, the_block->front_flag);
    504504        if (do_dump == TRUE) {
    505505          if (_Heap_Is_block_free(the_block)) {
     
    512512          printf("\n");
    513513        }
    514         printf("         Next Block:     Back - %d,  Front - %d",
    515                next_block->back_flag, next_block->front_flag);
     514        printf("         Next Block (%p):     Back - %d,  Front - %d",
     515               next_block, next_block->back_flag, next_block->front_flag);
    516516        if (do_dump == TRUE) {
    517517          if (_Heap_Is_block_free(next_block)) {
Note: See TracChangeset for help on using the changeset viewer.