[Bug 2012] New: mdump and wdump shell commands have bugs

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Thu Feb 2 19:15:19 UTC 2012


https://www.rtems.org/bugzilla/show_bug.cgi?id=2012

           Summary: mdump and wdump shell commands have bugs
           Product: RTEMS
           Version: 4.10
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: shell
        AssignedTo: chrisj at rtems.org
        ReportedBy: claus at SLAC.Stanford.edu
                CC: joel.sherrill at oarcorp.com


Created attachment 1416
  --> https://www.rtems.org/bugzilla/attachment.cgi?id=1416
mdump C file

In RTEMS version 4.10.2, neither "mdump" nor "wdump" handle their length
arguments correctly.  

Attached is a rework of main_mdump.c.  This version makes main_mwdump.c
obsolete.  It also provides a new command, called "ldump", that dumps in units
of longwords.  Furthermore, it also provides an addition to the RTEMS API
called rtems_mdump(void* addr, int max, int sz) to allow easy dumping from
application code.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list