Changeset b362ec5 in rtems


Ignore:
Timestamp:
Jul 22, 2009, 4:29:11 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
592b91f
Parents:
0d3b27cd
Message:

2009-07-22 Joel Sherrill <joel.sherrill@…>

  • libmisc/shell/main_mdump.c, libmisc/shell/main_mwdump.c: Fine tune printf format.
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r0d3b27cd rb362ec5  
     12009-07-22      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * libmisc/shell/main_mdump.c, libmisc/shell/main_mwdump.c: Fine tune
     4        printf format.
     5
    162009-07-22      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • cpukit/libmisc/shell/main_mdump.c

    r0d3b27cd rb362ec5  
    7777  for (m=0; m<max; m++) {
    7878    pb = (unsigned char*) addr;
    79     printf("%p ", pb);
     79    printf("%10p ", pb);
    8080    for (n=0;n<=(m==(max-1)?res:0xf);n++)
    8181      printf("%02X%c",pb[n],n==7?'-':' ');
  • cpukit/libmisc/shell/main_mwdump.c

    r0d3b27cd rb362ec5  
    7474  for (m=0;m<max;m++) {
    7575    pb = (unsigned char *) addr;
    76     printf("%p ", pb);
     76    printf("%10p ", pb);
    7777    for (n=0;n<=(m==(max-1)?res:0xf);n+=2)
    7878      printf("%04X%c",*((unsigned short*)(pb+n)),n==6?'-':' ');
Note: See TracChangeset for help on using the changeset viewer.