Changeset 5b331cc5 in rtems


Ignore:
Timestamp:
Apr 12, 2010, 3:23:41 PM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
1b65557
Parents:
16c3755
Message:

Add rtems_monitor_dump_addr().

Location:
cpukit/libmisc/monitor
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/monitor/mon-prmisc.c

    r16c3755 r5b331cc5  
    4747{
    4848    return fprintf(stdout,"%4" PRId32, num);
     49}
     50
     51int
     52rtems_monitor_dump_addr(void *addr)
     53{
     54    return fprintf(stdout,"0x%p", addr);
    4955}
    5056
  • cpukit/libmisc/monitor/monitor.h

    r16c3755 r5b331cc5  
    407407int        rtems_monitor_dump_decimal(uint32_t   num);
    408408int        rtems_monitor_dump_hex(uint32_t   num);
     409int        rtems_monitor_dump_addr(void *addr);
    409410int        rtems_monitor_dump_id(rtems_id id);
    410411int        rtems_monitor_dump_name(rtems_id id);
Note: See TracChangeset for help on using the changeset viewer.