summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/shellconfig.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-02-02 14:59:15 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-02-02 14:59:15 -0600
commitbcd065cc16aa15c35f59618673220f6dc5504af7 (patch)
treedcb44204ac57c1e9a85adde9576d40aadec18ad3 /cpukit/libmisc/shell/shellconfig.h
parentPR 2012 - mdump/wdump shell cmds handle length arg incorrectly; add ldump cmd (diff)
downloadrtems-bcd065cc16aa15c35f59618673220f6dc5504af7.tar.bz2
PR 2012 - mdump/wdump shell cmds handle length arg incorrectly; add ldump cmd
* libmisc/shell/main_mdump.c: Reworked to fix bugs in handling of the length argument and to provide an "ldump" command. This file now also supports the "wdump" command. In addition, an RTEMS API function called rtems_mdump() is provided to allow easy dumping from application code. * libmisc/shell/main_mwdump.c: Obsolete file. * libmisc/Makefile.am: Removed main_mwdump.c * libmisc/shell/shellconfig.h: Added "ldump" command. * shell/memory.t: Added documentation for the "ldump" command Signed-off-by: Ric Claus <claus@SLAC.Stanford.edu>
Diffstat (limited to '')
-rw-r--r--cpukit/libmisc/shell/shellconfig.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/cpukit/libmisc/shell/shellconfig.h b/cpukit/libmisc/shell/shellconfig.h
index cfc475095e..f2ee9c8cc1 100644
--- a/cpukit/libmisc/shell/shellconfig.h
+++ b/cpukit/libmisc/shell/shellconfig.h
@@ -1,14 +1,12 @@
/*
* RTEMS Shell Command Set Configuration
*
- * COPYRIGHT (c) 1989-2007.
+ * COPYRIGHT (c) 1989-2012.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
- *
- * $Id$
*/
#ifndef _RTEMS_SHELL_CONFIG_h
@@ -29,6 +27,7 @@ extern rtems_shell_cmd_t rtems_shell_UNSETENV_Command;
extern rtems_shell_cmd_t rtems_shell_MDUMP_Command;
extern rtems_shell_cmd_t rtems_shell_WDUMP_Command;
+extern rtems_shell_cmd_t rtems_shell_LDUMP_Command;
extern rtems_shell_cmd_t rtems_shell_MEDIT_Command;
extern rtems_shell_cmd_t rtems_shell_MFILL_Command;
extern rtems_shell_cmd_t rtems_shell_MMOVE_Command;
@@ -221,6 +220,11 @@ extern rtems_shell_alias_t *rtems_shell_Initial_aliases[];
&rtems_shell_WDUMP_Command,
#endif
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
+ !defined(CONFIGURE_SHELL_NO_COMMAND_LDUMP)) || \
+ defined(CONFIGURE_SHELL_COMMAND_LDUMP)
+ &rtems_shell_LDUMP_Command,
+ #endif
+ #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
!defined(CONFIGURE_SHELL_NO_COMMAND_MEDIT)) || \
defined(CONFIGURE_SHELL_COMMAND_MEDIT)
&rtems_shell_MEDIT_Command,