#2012 closed defect (fixed)
mdump and wdump shell cmds handle length arg incorrectly; add ldump cmd
Reported by: | Ric Claus | Owned by: | Chris Johns |
---|---|---|---|
Priority: | normal | Milestone: | 4.11 |
Component: | shell | Version: | 4.10 |
Severity: | normal | Keywords: | |
Cc: | joel.sherrill@…, gedare@… | Blocked By: | |
Blocking: |
Description
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.
Attachments (8)
Change History (14)
Changed on 02/02/12 at 18:15:18 by Ric Claus
Attachment: | main_mdump.c added |
---|
Changed on 02/02/12 at 18:20:26 by Ric Claus
Updated memory documentation
comment:1 Changed on 02/02/12 at 18:20:54 by Ric Claus
see_also: | → https://www.rtems.org/bugzilla/show_bug.cgi?id=2001 |
---|
comment:2 Changed on 02/02/12 at 18:26:13 by Gedare Bloom
Cc: | Gedare Bloom added |
---|
comment:3 Changed on 02/02/12 at 18:52:51 by Joel Sherrill
Summary: | mdump and wdump shell commands have bugs → mdump and wdump shell cmds handle length arg incorrectly; add ldump cmd |
---|
Changed on 02/02/12 at 19:02:33 by Ric Claus
Attachment: | main_mdump.diff added |
---|
Patchfile for main_mdump.c
comment:4 Changed on 02/02/12 at 19:02:33 by Ric Claus
attachments.isobsolete: | 0 → 1, 1 |
---|
Changed on 02/02/12 at 19:04:22 by Ric Claus
Attachment: | shellconfig_h.diff added |
---|
Patchfile for shellconfig.h
Changed on 02/02/12 at 19:18:23 by Ric Claus
Attachment: | Makefile_am.diff added |
---|
Patchfile for libmisc Makefile.am
Changed on 02/02/12 at 19:40:35 by Ric Claus
Attachment: | ChangeLog_cpukit.diff added |
---|
cpukit ChangeLog? patchfile
Changed on 02/02/12 at 19:41:09 by Ric Claus
Attachment: | ChangeLog_doc.diff added |
---|
doc ChangeLog? patchfile
comment:5 Changed on 02/02/12 at 20:11:31 by Joel Sherrill
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 Changed on 02/08/12 at 22:53:49 by Chris Johns
Replying to comment:17:
Chris is working on the server error.
Not me. Maybe Jeff was in the middle of the yum upgrade.
mdump C file