Changeset 3550c393 in mainline for generic/src/console/cmd.c


Ignore:
Timestamp:
2005-12-11T21:36:42Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ba276f7
Parents:
0c8e692
Message:

Symtab returns correct addresses even when symtab is befor bss.
Some tab completion optimization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/console/cmd.c

    r0c8e692 r3550c393  
    359359                printf("Calling f(): 0x%p: %s\n", symaddr, symbol);
    360360                f =  (__native (*)(void)) symaddr;
    361                 printf("Result: 0x%X\n", f());
     361                printf("Result: 0x%p\n", f());
    362362        }
    363363       
     
    383383                printf("Calling f(0x%x): 0x%p: %s\n", arg1, symaddr, symbol);
    384384                f =  (__native (*)(__native)) symaddr;
    385                 printf("Result: 0x%x\n", f(arg1));
     385                printf("Result: 0x%p\n", f(arg1));
    386386        }
    387387       
     
    409409                       arg1, arg2, symaddr, symbol);
    410410                f =  (__native (*)(__native,__native)) symaddr;
    411                 printf("Result: 0x%x\n", f(arg1, arg2));
     411                printf("Result: 0x%p\n", f(arg1, arg2));
    412412        }
    413413       
     
    436436                       arg1, arg2, arg3, symaddr, symbol);
    437437                f =  (__native (*)(__native,__native,__native)) symaddr;
    438                 printf("Result: 0x%x\n", f(arg1, arg2, arg3));
     438                printf("Result: 0x%p\n", f(arg1, arg2, arg3));
    439439        }
    440440       
Note: See TracChangeset for help on using the changeset viewer.